aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/eshell/em-ls.el6
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 36ee6a1a64b..0f3c16101d3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12013-05-23 Glenn Morris <rgm@gnu.org>
2
3 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
4
12013-05-22 Leo Liu <sdl.web@gmail.com> 52013-05-22 Leo Liu <sdl.web@gmail.com>
2 6
3 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433. 7 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
diff --git a/lisp/eshell/em-ls.el b/lisp/eshell/em-ls.el
index 73ed617b871..e087861d7d9 100644
--- a/lisp/eshell/em-ls.el
+++ b/lisp/eshell/em-ls.el
@@ -552,7 +552,7 @@ relative to that directory."
552 (expand-file-name dir))) 552 (expand-file-name dir)))
553 (cdr dirinfo))) ":\n")) 553 (cdr dirinfo))) ":\n"))
554 (let ((entries (eshell-directory-files-and-attributes 554 (let ((entries (eshell-directory-files-and-attributes
555 dir nil (and (not show-all) 555 dir nil (and (not (or show-all show-almost-all))
556 eshell-ls-exclude-hidden 556 eshell-ls-exclude-hidden
557 "\\`[^.]") t 557 "\\`[^.]") t
558 ;; Asking for UID and GID as 558 ;; Asking for UID and GID as
@@ -565,9 +565,9 @@ relative to that directory."
565 (setq entries 565 (setq entries
566 (cl-remove-if 566 (cl-remove-if
567 (lambda (entry) 567 (lambda (entry)
568 (member (caar entry) '("." ".."))) 568 (member (car entry) '("." "..")))
569 entries))) 569 entries)))
570 (when (and (not show-all) 570 (when (and (not (or show-all show-almost-all))
571 eshell-ls-exclude-regexp) 571 eshell-ls-exclude-regexp)
572 (while (and entries (string-match eshell-ls-exclude-regexp 572 (while (and entries (string-match eshell-ls-exclude-regexp
573 (caar entries))) 573 (caar entries)))