]> git.eshelyaron.com Git - emacs.git/commit
Remove some timestamp format assumptions
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 22 Feb 2019 21:24:16 +0000 (13:24 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 22 Feb 2019 21:31:01 +0000 (13:31 -0800)
commiteba66c1eafeef6512259c9b46face2b03c7433b8
tree0945a1e684448ba37146dbd36cd71dc91d70dad2
parent0613e7a38efc3b0534e0ca5c5fa401e2a3bda906
Remove some timestamp format assumptions

Don’t assume that current-time and plain encode-time return
timestamps in (HI LO US PS) format.
* lisp/gnus/gnus-art.el (article-make-date-line)
(article-lapsed-string):
* lisp/gnus/gnus-demon.el (gnus-demon-time-to-step):
* lisp/gnus/gnus-diary.el (gnus-user-format-function-d):
* lisp/gnus/nnmaildir.el (nnmaildir-request-expire-articles):
* lisp/net/pop3.el (pop3-uidl-dele):
* lisp/org/ox-publish.el (org-publish-sitemap):
* lisp/vc/vc-hg.el (vc-hg-state-fast):
Simplify and remove assumptions about timestamp format.
* lisp/gnus/gnus-art.el (article-lapsed-string):
* lisp/gnus/gnus-diary.el (gnus-user-format-function-d):
Do not worry about time-subtract returning nil; that's not possible.
* lisp/gnus/gnus-diary.el (gnus-user-format-function-d):
Avoid race due to duplicate current-time calls.
* lisp/vc/vc-hg.el (vc-hg--time-to-integer): Remove; no longer used.
lisp/gnus/gnus-art.el
lisp/gnus/gnus-demon.el
lisp/gnus/gnus-diary.el
lisp/gnus/nnmaildir.el
lisp/net/pop3.el
lisp/org/ox-publish.el
lisp/vc/vc-hg.el