Commit 277568f2 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(dired-mark): If on dir header line, always mark

the files in that dir.
parent 17b406a8
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment