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." ...@@ -2154,8 +2154,7 @@ Thus, use \\[backward-page] to find the beginning of a group of errors."
"Dired by date") "Dired by date")
(t (t
(concat "Dired " dired-actual-switches))))) (concat "Dired " dired-actual-switches)))))
;; update mode line: (force-mode-line-update))
(set-buffer-modified-p (buffer-modified-p)))
(defun dired-sort-toggle-or-edit (&optional arg) (defun dired-sort-toggle-or-edit (&optional arg)
"Toggle between sort by date/name and refresh the dired buffer. "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