]> git.eshelyaron.com Git - emacs.git/commit
Prefer nil to (current-time) when either will do
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Dec 2021 02:25:46 +0000 (18:25 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Dec 2021 07:24:08 +0000 (23:24 -0800)
commit524c42fa0eb9e4bf02d39e4d04353a354a84cebc
tree671472c27628d7b25c8e29b894c140c3f9c9ab73
parentaf6061894598efdcb1aeebbac2283d6e1d085820
Prefer nil to (current-time) when either will do

* lisp/emacs-lisp/timer.el (timer-event-handler, run-at-time):
* lisp/gnus/gnus-score.el (gnus-score-date):
* lisp/gnus/gnus-search.el (gnus-search-query-parse-date)
(gnus-search-imap-handle-date):
* lisp/gnus/gnus-sum.el (gnus-user-date)
(gnus-summary-create-article):
* lisp/image-dired.el (image-dired-create-thumb-1):
* lisp/image/gravatar.el (gravatar-retrieve)
(gravatar--prune-cache):
* lisp/net/dbus.el (dbus-monitor-handler):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-set-file-times):
* lisp/net/tramp-sh.el (tramp-sh-handle-set-file-times):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-set-file-times):
* test/lisp/autorevert-tests.el (auto-revert--wait-for-revert)
(auto-revert-tests--write-file, auto-revert-test--wait-for):
* test/lisp/net/tramp-tests.el (tramp--test-print-duration):
Prefer nil to (current-time) when either will do, as this avoids
some consing.  Similarly, prefer omitting (current-time) arg
when this is equivalent.
13 files changed:
doc/misc/gnus.texi
lisp/emacs-lisp/timer.el
lisp/gnus/gnus-score.el
lisp/gnus/gnus-search.el
lisp/gnus/gnus-sum.el
lisp/image-dired.el
lisp/image/gravatar.el
lisp/net/dbus.el
lisp/net/tramp-gvfs.el
lisp/net/tramp-sh.el
lisp/net/tramp-sudoedit.el
test/lisp/autorevert-tests.el
test/lisp/net/tramp-tests.el