emacs/lisp/emacs-lisp
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
..
advice.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
autoload.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
avl-tree.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
backquote.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
backtrace.el Update more copyright years 2018-12-31 18:47:22 -08:00
benchmark.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
bindat.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
byte-opt.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
byte-run.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
bytecomp.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cconv.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
chart.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
check-declare.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
checkdoc.el Fix byte compile warnings in checkdoc.el 2019-02-08 16:26:29 -06:00
cl-extra.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cl-generic.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cl-indent.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cl-lib.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cl-macs.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cl-preloaded.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cl-print.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cl-seq.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cl.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
copyright.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
crm.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cursor-sensor.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
debug.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
derived.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
disass.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
easy-mmode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
easymenu.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
edebug.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eieio-base.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eieio-compat.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eieio-core.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eieio-custom.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
eieio-datadebug.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
eieio-opt.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
eieio-speedbar.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
eieio.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eldoc.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
elint.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
elp.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ert-x.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ert.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ewoc.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
faceup.el Update more copyright years 2018-12-31 18:47:22 -08:00
find-func.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
float-sup.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
generator.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
generic.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
gv.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
helper.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
inline.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
let-alist.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
lisp-mnt.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
lisp-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
lisp.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
macroexp.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
map-ynp.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
map.el * lisp/emacs-lisp/map.el: Prepare for addition to GNU ELPA 2019-01-08 11:49:17 -05:00
nadvice.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
package-x.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
package.el * lisp/emacs-lisp/package.el: Improve generated foo-pkg.el 2019-02-08 14:16:31 -05:00
pcase.el Add portable dumper 2019-01-15 17:37:36 -05:00
pp.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
radix-tree.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
re-builder.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
regexp-opt.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
regi.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ring.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
rmc.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
rx.el Document that [:cntrl:] does not match DEL (Bug#34391) 2019-02-10 23:36:42 +01:00
seq.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
shadow.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
smie.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
subr-x.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
syntax.el Use integers for syntax-pps-stats 2019-01-06 11:15:40 -08:00
tabulated-list.el Make tabulated-list-mode-map inherit from special-mode-map 2019-01-25 10:47:57 +02:00
tcover-ses.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
tcover-unsafep.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
testcover.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
text-property-search.el Update more copyright years 2018-12-31 18:47:22 -08:00
thunk.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
timer-list.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
timer.el Simplify use of encode-time 2019-02-10 23:54:35 -08:00
tq.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
trace.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
unsafep.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
warnings.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00