1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00
emacs/lisp/eshell
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
..
em-alias.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
em-banner.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
em-basic.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
em-cmpl.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
em-dirs.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
em-glob.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
em-hist.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
em-ls.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
em-pred.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
em-prompt.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
em-rebind.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
em-script.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
em-smart.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
em-term.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
em-tramp.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
em-unix.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
em-xtra.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
esh-arg.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
esh-cmd.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
esh-ext.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
esh-io.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
esh-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
esh-module.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
esh-opt.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
esh-proc.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
esh-util.el Simplify use of encode-time 2019-02-10 23:54:35 -08:00
esh-var.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eshell.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00