mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
Fix Bug#30663
* lisp/dired.el (dired-revert): Call `hack-dir-local-variables-non-file-buffer'. (Bug#30663)
This commit is contained in:
parent
63b506eb4c
commit
d15fa1b7d3
@ -1443,7 +1443,8 @@ ARG and NOCONFIRM, passed from `revert-buffer', are ignored."
|
||||
(dolist (dir hidden-subdirs)
|
||||
(if (dired-goto-subdir dir)
|
||||
(dired-hide-subdir 1))))
|
||||
(unless modflag (restore-buffer-modified-p nil)))
|
||||
(unless modflag (restore-buffer-modified-p nil))
|
||||
(hack-dir-local-variables-non-file-buffer))
|
||||
;; outside of the let scope
|
||||
;;; Might as well not override the user if the user changed this.
|
||||
;;; (setq buffer-read-only t)
|
||||
|
Loading…
Reference in New Issue
Block a user