mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-06 15:41:27 -08:00
Fix mode-line after switching from WDired back to Dired
* lisp/wdired.el (wdired-change-to-dired-mode): Call 'dired-sort-set-mode-line' to set the mode name in the mode line, so as to restore the display before switching to WDired. (Bug#67028)
This commit is contained in:
parent
02f57d0e15
commit
400a71b8f2
1 changed files with 1 additions and 1 deletions
|
|
@ -453,7 +453,7 @@ non-nil means return old filename."
|
|||
(force-mode-line-update)
|
||||
(setq buffer-read-only t)
|
||||
(setq major-mode 'dired-mode)
|
||||
(setq mode-name "Dired")
|
||||
(dired-sort-set-mode-line)
|
||||
(dired-advertise)
|
||||
(dired-hide-details-update-invisibility-spec)
|
||||
(remove-hook 'kill-buffer-hook #'wdired-check-kill-buffer t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue