emacs-diffs
[Top][All Lists]
Advanced

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

master 9c0da894b9: ; Improve time-convert call in recently changed test


From: Stefan Kangas
Subject: master 9c0da894b9: ; Improve time-convert call in recently changed test
Date: Sun, 7 Aug 2022 07:17:04 -0400 (EDT)

branch: master
commit 9c0da894b9e69c8cb216585c5de1361be2e51812
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    ; Improve time-convert call in recently changed test
    
    * test/lisp/eshell/em-pred-tests.el
    (eshell-parse-file-name-attributes): Use t instead of nil as
    second argument to 'time-convert'.
    Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
---
 test/lisp/eshell/em-pred-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/lisp/eshell/em-pred-tests.el 
b/test/lisp/eshell/em-pred-tests.el
index ef31a5d147..0d6351ec82 100644
--- a/test/lisp/eshell/em-pred-tests.el
+++ b/test/lisp/eshell/em-pred-tests.el
@@ -75,7 +75,7 @@ The following attributes are recognized:
               (`(,(and (or "links" "uid" "gid" "size") key) ,value)
                (cons (intern key) (string-to-number value)))
               (`(,(and (or "atime" "mtime" "ctime") key) ,value)
-               (cons (intern key) (time-convert (string-to-number value) nil)))
+               (cons (intern key) (time-convert (string-to-number value) t)))
               (`(,key ,value)
                (cons (intern key) value))
               (_ (error "invalid format %S" i))))



reply via email to

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