diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-07-30 13:10:42 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-07-30 13:10:42 +0200 |
commit | 2b5fe44faad82afd393b0470ff05577520d766e9 (patch) | |
tree | 52551e705cf66182a1d1a2afb5f7ac5d31465dbd /lisp/eshell | |
parent | bddd4d382a0e91c73326f1e278924ce9e5624cd7 (diff) | |
download | emacs-2b5fe44faad82afd393b0470ff05577520d766e9.tar.gz |
Use decoded time accessors in esh-util
* lisp/eshell/esh-util.el (eshell-parse-ange-ls): Use decoded time
accessors.
Diffstat (limited to 'lisp/eshell')
-rw-r--r-- | lisp/eshell/esh-util.el | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |