diff options
| author | Lars Ingebrigtsen | 2019-07-30 13:10:42 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-07-30 13:10:42 +0200 |
| commit | 2b5fe44faad82afd393b0470ff05577520d766e9 (patch) | |
| tree | 52551e705cf66182a1d1a2afb5f7ac5d31465dbd | |
| parent | bddd4d382a0e91c73326f1e278924ce9e5624cd7 (diff) | |
| download | emacs-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.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. | |||
| 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)) |