projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bddd4d3
)
Use decoded time accessors in esh-util
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 30 Jul 2019 11:10:42 +0000
(13:10 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 30 Jul 2019 11:10:42 +0000
(13:10 +0200)
* lisp/eshell/esh-util.el (eshell-parse-ange-ls): Use decoded time
accessors.
lisp/eshell/esh-util.el
patch
|
blob
|
history
diff --git
a/lisp/eshell/esh-util.el
b/lisp/eshell/esh-util.el
index fe8eb35d3669eb4a377e617ada2fd596d62c8df1..4835e63baa9ed321b21d4e557cf9b1f113d337e1 100644
(file)
--- 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))