emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 19932c3 11/13: Avoid timestamp info loss in mh-alias-tstamp


From: Paul Eggert
Subject: master 19932c3 11/13: Avoid timestamp info loss in mh-alias-tstamp
Date: Mon, 6 Dec 2021 02:24:23 -0500 (EST)

branch: master
commit 19932c32039b8e61486195504a72bfc037b29658
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>

    Avoid timestamp info loss in mh-alias-tstamp
    
    * lisp/mh-e/mh-alias.el (mh-alias-tstamp):
    Don’t lose subsecond info when setting mh-alias-tstamp.
---
 lisp/mh-e/mh-alias.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/mh-e/mh-alias.el b/lisp/mh-e/mh-alias.el
index 8087df9..d266621 100644
--- a/lisp/mh-e/mh-alias.el
+++ b/lisp/mh-e/mh-alias.el
@@ -67,8 +67,7 @@ Return t if any file listed in the Aliasfile MH profile 
component has
 been modified since the timestamp.
 If ARG is non-nil, set timestamp with the current time."
   (if arg
-      (let ((time (current-time)))
-        (setq mh-alias-tstamp (list (nth 0 time) (nth 1 time))))
+      (setq mh-alias-tstamp (current-time))
     (let ((stamp))
       (car (memq t (mapcar
                     (lambda (file)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]