]> git.eshelyaron.com Git - emacs.git/commit
Prefer ‘time-equal-p’ to ‘equal’ on timestamps
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 1 Aug 2022 07:38:34 +0000 (00:38 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 1 Aug 2022 08:17:17 +0000 (01:17 -0700)
commit2cd204d8bbc5ef9bc049b593f85b2fa46c07db1b
treea9f36ac790a54476628315385e1fe49e06e0f8b0
parenta51863f73d914dbabbadb396cda2c9d360866277
Prefer ‘time-equal-p’ to ‘equal’ on timestamps

This is more robust since timestamps can have multiple forms.
* lisp/auth-source.el (auth-source-netrc-parse):
* lisp/bookmark.el (bookmark--watch-file-already-queried-p)
(bookmark-maybe-load-default-file):
* lisp/cedet/semantic/db.el (semanticdb-needs-refresh-p):
* lisp/dired.el (dired-directory-changed-p):
* lisp/files.el (dir-locals-find-file):
* lisp/gnus/gnus-util.el (gnus-cache-file-contents):
* lisp/gnus/nneething.el (nneething-create-mapping):
* lisp/gnus/nnfolder.el (nnfolder-read-folder):
* lisp/gnus/nnmaildir.el (nnmaildir--update-nov)
(nnmaildir--scan, nnmaildir-request-scan)
(nnmaildir-request-update-info):
* lisp/gnus/nnmh.el (nnmh-update-gnus-unreads):
* lisp/gnus/spam-stat.el (spam-stat-load):
* lisp/mail/mailabbrev.el (mail-abbrevs-sync-aliases):
* lisp/mail/sendmail.el (sendmail-sync-aliases):
* lisp/net/netrc.el (netrc-parse):
* lisp/nxml/rng-loc.el (rng-get-parsed-schema-locating-file):
* lisp/play/cookie1.el (cookie-snarf):
* lisp/vc/vc-cvs.el (vc-cvs-state-heuristic):
* lisp/vc/vc-hg.el (vc-hg--ignore-patterns-valid-p)
(vc-hg--cached-dirstate-search):
* lisp/vc/vc-hooks.el (vc-after-save):
Prefer ‘time-equal-p’ to ‘equal’ when comparing
timestamps for equality.
19 files changed:
lisp/auth-source.el
lisp/bookmark.el
lisp/cedet/semantic/db.el
lisp/dired.el
lisp/files.el
lisp/gnus/gnus-util.el
lisp/gnus/nneething.el
lisp/gnus/nnfolder.el
lisp/gnus/nnmaildir.el
lisp/gnus/nnmh.el
lisp/gnus/spam-stat.el
lisp/mail/mailabbrev.el
lisp/mail/sendmail.el
lisp/net/netrc.el
lisp/nxml/rng-loc.el
lisp/play/cookie1.el
lisp/vc/vc-cvs.el
lisp/vc/vc-hg.el
lisp/vc/vc-hooks.el