From 277568f269b34695a60823ea2210d9d6007dff7a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 9 Feb 1995 09:40:01 +0000 Subject: [PATCH] (dired-mark): If on dir header line, always mark the files in that dir. --- lisp/dired.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5