]> git.eshelyaron.com Git - emacs.git/commitdiff
(dired-mark): If on dir header line, always mark
authorRichard M. Stallman <rms@gnu.org>
Thu, 9 Feb 1995 09:40:01 +0000 (09:40 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 9 Feb 1995 09:40:01 +0000 (09:40 +0000)
the files in that dir.

lisp/dired.el

index 9a188792719b83126aace7566a74799cd8aeecd5..c3f071021efe51d463bec1eae169fc0daa855e6e 100644 (file)
@@ -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