Mercurial > emacs
changeset 11587:cf1d828dbb57
(dired-sort-set-modeline): Use force-mode-line-update.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 25 Apr 1995 22:31:52 +0000 |
parents | fba74d054979 |
children | 3ddbf9b31cf0 |
files | lisp/dired.el |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/dired.el Tue Apr 25 22:31:12 1995 +0000 +++ b/lisp/dired.el Tue Apr 25 22:31:52 1995 +0000 @@ -2154,8 +2154,7 @@ "Dired by date") (t (concat "Dired " dired-actual-switches))))) - ;; update mode line: - (set-buffer-modified-p (buffer-modified-p))) + (force-mode-line-update)) (defun dired-sort-toggle-or-edit (&optional arg) "Toggle between sort by date/name and refresh the dired buffer.