emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 2b5fe44 11/13: Use decoded time accessors in esh-ut


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 2b5fe44 11/13: Use decoded time accessors in esh-util
Date: Tue, 30 Jul 2019 07:12:07 -0400 (EDT)

branch: master
commit 2b5fe44faad82afd393b0470ff05577520d766e9
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Use decoded time accessors in esh-util
    
    * lisp/eshell/esh-util.el (eshell-parse-ange-ls): Use decoded time
    accessors.
---
 lisp/eshell/esh-util.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el
index fe8eb35..4835e63 100644
--- a/lisp/eshell/esh-util.el
+++ b/lisp/eshell/esh-util.el
@@ -654,7 +654,7 @@ If NOSORT is non-nil, the list is not sorted--its order is 
unpredictable.
                                   (match-string 6))))
                      (if (nth 0 moment)
                          (setcar (nthcdr 5 moment)
-                                 (nth 5 (decode-time)))
+                                 (decoded-time-year (decode-time)))
                        (setcar (nthcdr 0 moment) 0)
                        (setcar (nthcdr 1 moment) 0)
                        (setcar (nthcdr 2 moment) 0))



reply via email to

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