projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
211ee13
)
Display directory when `dired-omit-mode` is first enabled
author
Stefan Kangas
<stefankangas@gmail.com>
Tue, 5 Sep 2023 15:50:27 +0000
(17:50 +0200)
committer
Stefan Kangas
<stefankangas@gmail.com>
Tue, 5 Sep 2023 15:51:27 +0000
(17:51 +0200)
* lisp/dired-x.el (dired-omit-expunge): Display the directory name
when 'dired-omit-mode' is first enabled. (Bug#64705)
lisp/dired-x.el
patch
|
blob
|
history
diff --git
a/lisp/dired-x.el
b/lisp/dired-x.el
index 398f55f2a24de8ef26ae6227a3290fd032ae61c4..b7824fa81bd67918d42f8e7610cd8b29438d0c57 100644
(file)
--- a/
lisp/dired-x.el
+++ b/
lisp/dired-x.el
@@
-491,7
+491,11
@@
status message."
(setq count (+ count
(dired-do-kill-lines
nil
- (if dired-omit-verbose "Omitted %d line%s" "")
+ (if dired-omit-verbose
+ (format "Omitted %%d line%%s in %s"
+ (abbreviate-file-name
+ dired-directory))
+ "")
init-count)))
(force-mode-line-update))))
;; Try to preserve modified state, so `%*' doesn't appear in