1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-14 16:50:58 +00:00
emacs/lisp/calendar
Paul Eggert e2f785991d Simplify now that float-time etc. are built-in
This was prompted by warnings about calls to now-obsolete functions.
* lisp/calendar/time-date.el (encode-time-value):
Use setq rather than a recursive call, to avoid a warning
about calling this obsolete function.
* lisp/calendar/time-date.el (encode-time-value)
(with-decoded-time-value, time-to-seconds, time-to-number-of-days):
* lisp/erc/erc.el (erc-emacs-time-to-erc-time):
* lisp/net/rcirc.el (rcirc-float-time):
* lisp/org/org-compat.el (org-float-time):
Simplify now that time-add and float-time are now built-in.
* lisp/calendar/time-date.el (time-add, time-subtract, time-less-p):
* lisp/net/newst-backend.el (time-add):
* lisp/org/org.el (time-subtract):
Remove backward-compatibility definitions; they are now built-in.
* lisp/calendar/timeclock.el (timeclock-time-to-seconds)
(timeclock-seconds-to-time):
* lisp/net/rcirc.el (rcirc-float-time):
* lisp/org/org-compat.el (org-float-time):
Now obsolete, since callers can just use float-time and
seconds-to-time.  All uses changed.
* lisp/emacs-lisp/ert.el (ert-results-pop-to-timings):
* lisp/gnus/gnus-art.el (article-lapsed-string):
* lisp/gnus/gnus-diary.el (gnus-user-format-function-d):
* lisp/gnus/gnus-group.el (gnus-group-timestamp-delta):
* lisp/gnus/nndiary.el (nndiary-compute-reminders):
* lisp/net/tramp.el (tramp-time-diff):
* lisp/org/org-clock.el (org-clock-timestamps-change):
Prefer the time-subtract builtin to the subtract-time alias.
* lisp/files.el (dir-locals-find-file, dir-locals-read-from-dir):
* test/lisp/character-fold-tests.el (character-fold--speed-test):
Prefer the float-time builtin to the time-to-seconds alias.
* lisp/org/org-agenda.el, lisp/org/org-clock.el, lisp/org/org-list.el:
* lisp/org/org-timer.el, lisp/org/org.el:
Adjust to org-float-time deprecation.
2016-05-08 12:46:22 -07:00
..
appt.el lisp/calendar/appt.el (appt-delete-window): Check if buffer is live 2016-02-22 14:45:14 +01:00
cal-bahai.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cal-china.el Mark some risky calendar variables. 2016-02-01 20:53:44 -05:00
cal-coptic.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cal-dst.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cal-french.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cal-hebrew.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
cal-html.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cal-islam.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cal-iso.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
cal-julian.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cal-mayan.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cal-menu.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cal-move.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cal-persia.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cal-tex.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
cal-x.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
calendar.el Mark some risky calendar variables. 2016-02-01 20:53:44 -05:00
diary-lib.el Mark some risky calendar variables. 2016-02-01 20:53:44 -05:00
holidays.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
icalendar.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
lunar.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
parse-time.el parse-times-string doc string clarification 2016-03-25 16:32:39 +01:00
solar.el Merge from origin/emacs-25 2016-04-12 08:50:47 -07:00
time-date.el Simplify now that float-time etc. are built-in 2016-05-08 12:46:22 -07:00
timeclock.el Simplify now that float-time etc. are built-in 2016-05-08 12:46:22 -07:00
todo-mode.el Fix todo-mode bug involving archived items (bug#23447) 2016-05-04 21:52:32 +02:00