Commit 45d8d39f authored by Karl Heuer's avatar Karl Heuer
Browse files

(dired-sort-set-modeline): Use force-mode-line-update.

parent ca341104
......@@ -2154,8 +2154,7 @@ Thus, use \\[backward-page] to find the beginning of a group of errors."
"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.
......
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