aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/eshell/esh-util.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el
index 495616e0557..60e5fe7ab9a 100644
--- a/lisp/eshell/esh-util.el
+++ b/lisp/eshell/esh-util.el
@@ -270,6 +270,7 @@ If N or M is nil, it means the end of the list."
270 (setq text (replace-match " " t t text))) 270 (setq text (replace-match " " t t text)))
271 text)) 271 text))
272 272
273;; FIXME this is just dolist.
273(defmacro eshell-for (for-var for-list &rest forms) 274(defmacro eshell-for (for-var for-list &rest forms)
274 "Iterate through a list" 275 "Iterate through a list"
275 `(let ((list-iter ,for-list)) 276 `(let ((list-iter ,for-list))
@@ -649,6 +650,7 @@ If NOSORT is non-nil, the list is not sorted--its order is unpredictable.
649 (user (match-string 3)) 650 (user (match-string 3))
650 (group (match-string 4)) 651 (group (match-string 4))
651 (size (string-to-number (match-string 5))) 652 (size (string-to-number (match-string 5)))
653 (name (ange-ftp-parse-filename))
652 (mtime 654 (mtime
653 (if (fboundp 'parse-time-string) 655 (if (fboundp 'parse-time-string)
654 (let ((moment (parse-time-string 656 (let ((moment (parse-time-string
@@ -661,7 +663,6 @@ If NOSORT is non-nil, the list is not sorted--its order is unpredictable.
661 (setcar (nthcdr 2 moment) 0)) 663 (setcar (nthcdr 2 moment) 0))
662 (apply 'encode-time moment)) 664 (apply 'encode-time moment))
663 (ange-ftp-file-modtime (expand-file-name name dir)))) 665 (ange-ftp-file-modtime (expand-file-name name dir))))
664 (name (ange-ftp-parse-filename))
665 symlink) 666 symlink)
666 (if (string-match "\\(.+\\) -> \\(.+\\)" name) 667 (if (string-match "\\(.+\\) -> \\(.+\\)" name)
667 (setq symlink (match-string 2 name) 668 (setq symlink (match-string 2 name)