From: Lars Ingebrigtsen Date: Tue, 30 Jul 2019 11:10:42 +0000 (+0200) Subject: Use decoded time accessors in esh-util X-Git-Tag: emacs-27.0.90~1817^2~15 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2b5fe44faad82afd393b0470ff05577520d766e9;p=emacs.git Use decoded time accessors in esh-util * lisp/eshell/esh-util.el (eshell-parse-ange-ls): Use decoded time accessors. --- diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el index fe8eb35d366..4835e63baa9 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))