1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 11:00:45 -08:00
emacs/lisp/org
Paul Eggert 988e37fa0f Simplify use of encode-time
Most uses of (apply #'encode-time foo) can now be replaced
with (encode-time foo).  Make similar simplifications.
* lisp/calendar/time-date.el (date-to-time):
* lisp/calendar/timeclock.el (timeclock-when-to-leave)
(timeclock-day-base, timeclock-generate-report):
* lisp/emacs-lisp/timer.el (timer-set-idle-time):
* lisp/eshell/esh-util.el (eshell-parse-ange-ls):
* lisp/gnus/gnus-art.el (article-make-date-line):
* lisp/gnus/gnus-delay.el (gnus-delay-article)
(gnus-delay-send-queue):
* lisp/gnus/gnus-icalendar.el (gnus-icalendar-event--decode-datefield):
* lisp/gnus/gnus-logic.el (gnus-advanced-date):
* lisp/gnus/message.el (message-make-expires-date):
* lisp/gnus/nndiary.el (nndiary-compute-reminders):
* lisp/mail/ietf-drums.el (ietf-drums-parse-date):
* lisp/net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
* lisp/org/org-agenda.el (org-agenda-get-timestamps)
(org-agenda-get-progress, org-agenda-show-clocking-issues):
* lisp/org/org-capture.el (org-capture-set-target-location):
* lisp/org/org-clock.el (org-clock-get-sum-start, org-clock-sum)
(org-clocktable-steps):
* lisp/org/org-colview.el (org-colview-construct-allowed-dates)
* lisp/org/org-macro.el (org-macro--vc-modified-time):
* lisp/org/org-table.el (org-table-eval-formula):
* lisp/org/org.el (org-current-time, org-store-link)
(org-time-today, org-read-date, org-read-date-display)
(org-display-custom-time, org-time-string-to-time)
(org-timestamp-change, org-timestamp--to-internal-time):
* lisp/url/url-dav.el (url-dav-process-date-property):
* lisp/vc/vc-cvs.el (vc-cvs-annotate-current-time)
(vc-cvs-parse-entry):
Simplify use of encode-time.
* lisp/org/org-clock.el (org-clock-get-clocked-time):
(org-clock-resolve, org-resolve-clocks, org_clock_out)
(org-clock-update-time-maybe):
Avoid some rounding problems with encode-time and float-time.
* lisp/org/org-clock.el (org-clock-in, org-clock-update-time-maybe):
* lisp/org/org-colview.el (org-columns--age-to-minutes):
* lisp/org/org.el (org-get-scheduled-time, org-get-deadline-time)
(org-add-planning-info, org-2ft, org-time-string-to-absolute)
(org-closest-date):
Use org-time-string-to-time instead of doing it by hand with
encode-time.
* lisp/org/org.el (org-current-time): Simplify rounding.
(org-read-date): Avoid extra trip through encode-time.
2019-02-10 23:54:35 -08:00
..
ChangeLog.1 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-abc.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-asymptote.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-awk.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-C.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-calc.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-clojure.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-comint.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-coq.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-core.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ob-css.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-ditaa.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-dot.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-ebnf.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-emacs-lisp.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-eval.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ob-exp.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-forth.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-fortran.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-gnuplot.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-groovy.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-haskell.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-hledger.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-io.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-J.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-java.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-js.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-keys.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-latex.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-ledger.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-lilypond.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-lisp.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-lob.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-lua.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-makefile.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-matlab.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-maxima.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-mscgen.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-ocaml.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-octave.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-org.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-perl.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-picolisp.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-plantuml.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-processing.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-python.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-R.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-ref.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-ruby.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-sass.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-scheme.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-screen.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-sed.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-shell.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-shen.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-sql.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-sqlite.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-stan.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-table.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-tangle.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob-vala.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ob.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-agenda.el Simplify use of encode-time 2019-02-10 23:54:35 -08:00
org-archive.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-attach.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
org-bbdb.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-bibtex.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-capture.el Simplify use of encode-time 2019-02-10 23:54:35 -08:00
org-clock.el Simplify use of encode-time 2019-02-10 23:54:35 -08:00
org-colview.el Simplify use of encode-time 2019-02-10 23:54:35 -08:00
org-compat.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-crypt.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-ctags.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
org-datetree.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-docview.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-duration.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-element.el Prefer encode-time to its alias 2019-02-10 23:54:34 -08:00
org-entities.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-eshell.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-eww.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-faces.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-feed.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-footnote.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
org-gnus.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-habit.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-id.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
org-indent.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
org-info.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-inlinetask.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-install.el
org-irc.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-lint.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-list.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-macro.el Simplify use of encode-time 2019-02-10 23:54:35 -08:00
org-macs.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
org-mhe.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-mobile.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-mouse.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-pcomplete.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
org-plot.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-protocol.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
org-rmail.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-src.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org-table.el Simplify use of encode-time 2019-02-10 23:54:35 -08:00
org-timer.el Prefer encode-time to its alias 2019-02-10 23:54:34 -08:00
org-version.el Update Org to v9.1.9 2018-03-27 23:34:41 +02:00
org-w3m.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
org.el Simplify use of encode-time 2019-02-10 23:54:35 -08:00
ox-ascii.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ox-beamer.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ox-html.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ox-icalendar.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ox-latex.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ox-man.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ox-md.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ox-odt.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ox-org.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ox-publish.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ox-texinfo.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ox.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00