Mercurial > emacs
changeset 11588:3ddbf9b31cf0
(dired-omit-expunge): Use force-mode-line-update.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 25 Apr 1995 22:32:18 +0000 |
parents | cf1d828dbb57 |
children | ba22258c5916 |
files | lisp/dired-x.el |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/dired-x.el Tue Apr 25 22:31:52 1995 +0000 +++ b/lisp/dired-x.el Tue Apr 25 22:32:18 1995 +0000 @@ -588,8 +588,7 @@ (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.