mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +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
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue