aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-07-30 13:10:42 +0200
committerLars Ingebrigtsen2019-07-30 13:10:42 +0200
commit2b5fe44faad82afd393b0470ff05577520d766e9 (patch)
tree52551e705cf66182a1d1a2afb5f7ac5d31465dbd
parentbddd4d382a0e91c73326f1e278924ce9e5624cd7 (diff)
downloademacs-2b5fe44faad82afd393b0470ff05577520d766e9.tar.gz
emacs-2b5fe44faad82afd393b0470ff05577520d766e9.zip
Use decoded time accessors in esh-util
* lisp/eshell/esh-util.el (eshell-parse-ange-ls): Use decoded time accessors.
-rw-r--r--lisp/eshell/esh-util.el2
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.
654 (match-string 6)))) 654 (match-string 6))))
655 (if (nth 0 moment) 655 (if (nth 0 moment)
656 (setcar (nthcdr 5 moment) 656 (setcar (nthcdr 5 moment)
657 (nth 5 (decode-time))) 657 (decoded-time-year (decode-time)))
658 (setcar (nthcdr 0 moment) 0) 658 (setcar (nthcdr 0 moment) 0)
659 (setcar (nthcdr 1 moment) 0) 659 (setcar (nthcdr 1 moment) 0)
660 (setcar (nthcdr 2 moment) 0)) 660 (setcar (nthcdr 2 moment) 0))