]> git.eshelyaron.com Git - emacs.git/commit
Minor fixes/simplifications to time functions
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 19 Dec 2018 20:57:25 +0000 (12:57 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 19 Dec 2018 21:01:42 +0000 (13:01 -0800)
commit5bd6074415e8d572931ee51112d9b70b70e2ba55
tree197616a9cf72bd188a9201274f0840afac93fac2
parent3fa8bdca88153ff442ca22d8c298525c1b716e7e
Minor fixes/simplifications to time functions

* doc/lispintro/emacs-lisp-intro.texi (Files List): Simplify.
* doc/lispref/os.texi (Time of Day): Mention format-time-string
as an alternative to current-time-string.
* lisp/arc-mode.el (archive-unixdate, archive-unixtime):
Port better to future versions of Emacs where (COUNT . HZ)
will take precedence to (HI . LO).
* lisp/arc-mode.el (archive-unixtime):
* lisp/calendar/todo-mode.el (todo-insert-item--basic)
(todo-item-done, todo-read-time):
Prefer format-time-string to substringing current-time-string.
* lisp/calc/calc-forms.el (calc-time, calcFunc-now):
Prefer decode-time to parsing the output of current-time-string.
* lisp/emacs-lisp/cl-extra.el (cl--random-time):
Prefer encode-time to hashing the output of current-time-string.
* lisp/gnus/gnus-score.el (gnus-score-headers)
(gnus-score-adaptive):
Avoid stringifying and then reparsing timestamp.
* src/timefns.c (Fencode_time): Omit redundant assignment.
doc/lispintro/emacs-lisp-intro.texi
doc/lispref/os.texi
lisp/arc-mode.el
lisp/calc/calc-forms.el
lisp/calendar/todo-mode.el
lisp/emacs-lisp/cl-extra.el
lisp/gnus/gnus-score.el
src/timefns.c