diff options
author | Glenn Morris <rgm@gnu.org> | 2010-11-09 19:57:32 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2010-11-09 19:57:32 -0800 |
commit | 73171bd4cc3333a43ef8810ba4f7d0a864f20fa8 (patch) | |
tree | a00e6939b432aa45fc7b18096a4f8baf7e77ab93 /lisp/eshell/em-ls.el | |
parent | 13e7256f9425c09c827827302fda440f95fe5c43 (diff) | |
download | emacs-73171bd4cc3333a43ef8810ba4f7d0a864f20fa8.tar.gz |
Replace some eshell functions that duplicate standard functions.
* lisp/eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds): Remove.
(eshell-read-passwd, eshell-read-hosts): Use time-less-p.
* lisp/eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
* lisp/eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
* lisp/eshell/em-pred.el (eshell-pred-file-time): Use float-time.
* lisp/eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
Diffstat (limited to 'lisp/eshell/em-ls.el')
-rw-r--r-- | lisp/eshell/em-ls.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/eshell/em-ls.el b/lisp/eshell/em-ls.el index db2a21cd319..84af53efe58 100644 --- a/lisp/eshell/em-ls.el +++ b/lisp/eshell/em-ls.el @@ -612,11 +612,11 @@ In Eshell's implementation of ls, ENTRIES is always reversed." (let ((result (cond ((eq sort-method 'by-atime) - (eshell-ls-compare-entries l r 4 'eshell-time-less-p)) + (eshell-ls-compare-entries l r 4 'time-less-p)) ((eq sort-method 'by-mtime) - (eshell-ls-compare-entries l r 5 'eshell-time-less-p)) + (eshell-ls-compare-entries l r 5 'time-less-p)) ((eq sort-method 'by-ctime) - (eshell-ls-compare-entries l r 6 'eshell-time-less-p)) + (eshell-ls-compare-entries l r 6 'time-less-p)) ((eq sort-method 'by-size) (eshell-ls-compare-entries l r 7 '<)) ((eq sort-method 'by-extension) @@ -941,5 +941,4 @@ to use, and each member of which is the width of that column ;; generated-autoload-file: "esh-groups.el" ;; End: -;; arch-tag: 9295181c-0cb2-499c-999b-89f5359842cb ;;; em-ls.el ends here |