From: Richard M. Stallman Date: Thu, 9 Feb 1995 09:40:01 +0000 (+0000) Subject: (dired-mark): If on dir header line, always mark X-Git-Tag: emacs-19.34~5148 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=277568f269b34695a60823ea2210d9d6007dff7a;p=emacs.git (dired-mark): If on dir header line, always mark the files in that dir. --- diff --git a/lisp/dired.el b/lisp/dired.el index 9a188792719..c3f071021ef 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -1874,7 +1874,7 @@ Use \\[dired-unmark-all-files] to remove all marks and \\[dired-unmark] on a subdir to remove the marks in this subdir." (interactive "P") - (if (and (cdr dired-subdir-alist) (dired-get-subdir)) + (if (dired-get-subdir) (save-excursion (dired-mark-subdir-files)) (let (buffer-read-only) (dired-repeat-over-lines