diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-08-01 00:38:33 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-08-01 01:17:16 -0700 |
commit | a51863f73d914dbabbadb396cda2c9d360866277 (patch) | |
tree | 16b2024853ac54e9aaa1a825de958d9501a1055c /lisp/gnus/nnheader.el | |
parent | d634cb09547eb5ffba105b6c90410fd843bf029d (diff) | |
download | emacs-a51863f73d914dbabbadb396cda2c9d360866277.tar.gz emacs-a51863f73d914dbabbadb396cda2c9d360866277.tar.bz2 emacs-a51863f73d914dbabbadb396cda2c9d360866277.zip |
Simplify a few timestamps
* lisp/calendar/time-date.el (safe-date-to-time):
* lisp/calendar/timeclock.el (timeclock-generate-report):
* lisp/epg.el (epg--start):
* lisp/gnus/gnus-demon.el (gnus-demon-nntp-close-connection):
* lisp/gnus/gnus-util.el (gnus-date-get-time):
* lisp/gnus/nnheader.el (nnheader-last-message-time):
* lisp/gnus/nnrss.el (nnrss-request-expire-articles):
* lisp/vc/ediff-util.el (ediff-command-begin-time)
(ediff-calc-command-time, ediff-profile):
Prefer an integer like 0 to a timestamp list like (0 0)
where either will do.
Diffstat (limited to 'lisp/gnus/nnheader.el')
-rw-r--r-- | lisp/gnus/nnheader.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/nnheader.el b/lisp/gnus/nnheader.el index ab57bd7eedd..92df41ea829 100644 --- a/lisp/gnus/nnheader.el +++ b/lisp/gnus/nnheader.el @@ -1055,7 +1055,7 @@ See `find-file-noselect' for the arguments." (or ,end (point-max))) '(buffer-string))))) -(defvar nnheader-last-message-time '(0 0)) +(defvar nnheader-last-message-time 0) (defun nnheader-message-maybe (&rest args) (let ((now (current-time))) (when (time-less-p 1 (time-subtract now nnheader-last-message-time)) |