Commit 048ea441 authored by Karl Heuer's avatar Karl Heuer
Browse files

(dired-omit-expunge): Use force-mode-line-update.

parent 45d8d39f
......@@ -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)
(setq count (dired-do-kill-lines nil "Omitted %d line%s."))
;; Force an update of modeline.
(set-buffer-modified-p (buffer-modified-p)))
(message "(Nothing to omit)"))))
;; Try to preserve modified state of buffer. So `%*' doesn't appear
;; in mode-line of omitted buffers.
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