diff options
| author | Stefan Kangas | 2023-09-05 17:50:27 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2023-09-05 17:51:27 +0200 |
| commit | a55ca8073b07760b4784667cfda4e00a4eec2420 (patch) | |
| tree | a456b339f6d3f6220b7c9b743c26031e2aba5754 | |
| parent | 211ee13fb5d973a11988b8425be90cac2c8f0104 (diff) | |
| download | emacs-a55ca8073b07760b4784667cfda4e00a4eec2420.tar.gz emacs-a55ca8073b07760b4784667cfda4e00a4eec2420.zip | |
Display directory when `dired-omit-mode` is first enabled
* lisp/dired-x.el (dired-omit-expunge): Display the directory name
when 'dired-omit-mode' is first enabled. (Bug#64705)
| -rw-r--r-- | lisp/dired-x.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el index 398f55f2a24..b7824fa81bd 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el | |||
| @@ -491,7 +491,11 @@ status message." | |||
| 491 | (setq count (+ count | 491 | (setq count (+ count |
| 492 | (dired-do-kill-lines | 492 | (dired-do-kill-lines |
| 493 | nil | 493 | nil |
| 494 | (if dired-omit-verbose "Omitted %d line%s" "") | 494 | (if dired-omit-verbose |
| 495 | (format "Omitted %%d line%%s in %s" | ||
| 496 | (abbreviate-file-name | ||
| 497 | dired-directory)) | ||
| 498 | "") | ||
| 495 | init-count))) | 499 | init-count))) |
| 496 | (force-mode-line-update)))) | 500 | (force-mode-line-update)))) |
| 497 | ;; Try to preserve modified state, so `%*' doesn't appear in | 501 | ;; Try to preserve modified state, so `%*' doesn't appear in |