mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-22 10:26:20 +00:00
(dired-omit-expunge): Use force-mode-line-update.
This commit is contained in:
parent
45d8d39ff8
commit
048ea441e2
@ -588,8 +588,7 @@ This functions works by temporarily binding `dired-marker-char' to
|
||||
(if (dired-mark-unmarked-files omit-re nil nil dired-omit-localp)
|
||||
(progn
|
||||
(setq count (dired-do-kill-lines nil "Omitted %d line%s."))
|
||||
;; Force an update of modeline.
|
||||
(set-buffer-modified-p (buffer-modified-p)))
|
||||
(force-mode-line-update))
|
||||
(message "(Nothing to omit)"))))
|
||||
;; Try to preserve modified state of buffer. So `%*' doesn't appear
|
||||
;; in mode-line of omitted buffers.
|
||||
|
Loading…
Reference in New Issue
Block a user