mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-16 09:50:25 +00:00
e2f785991d
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. |
||
---|---|---|
.. | ||
ChangeLog.1 | ||
ChangeLog.2 | ||
erc-autoaway.el | ||
erc-backend.el | ||
erc-button.el | ||
erc-capab.el | ||
erc-compat.el | ||
erc-dcc.el | ||
erc-desktop-notifications.el | ||
erc-ezbounce.el | ||
erc-fill.el | ||
erc-goodies.el | ||
erc-ibuffer.el | ||
erc-identd.el | ||
erc-imenu.el | ||
erc-join.el | ||
erc-lang.el | ||
erc-list.el | ||
erc-log.el | ||
erc-match.el | ||
erc-menu.el | ||
erc-netsplit.el | ||
erc-networks.el | ||
erc-notify.el | ||
erc-page.el | ||
erc-pcomplete.el | ||
erc-replace.el | ||
erc-ring.el | ||
erc-services.el | ||
erc-sound.el | ||
erc-speedbar.el | ||
erc-spelling.el | ||
erc-stamp.el | ||
erc-track.el | ||
erc-truncate.el | ||
erc-xdcc.el | ||
erc.el |