emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master d15fa1b 4/5: Fix Bug#30663


From: Michael Albinus
Subject: [Emacs-diffs] master d15fa1b 4/5: Fix Bug#30663
Date: Mon, 14 May 2018 11:14:34 -0400 (EDT)

branch: master
commit d15fa1b7d36a32e1dd9807eb5f0d1d8cd4f2e78d
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Fix Bug#30663
    
    * lisp/dired.el (dired-revert):
    Call `hack-dir-local-variables-non-file-buffer'.  (Bug#30663)
---
 lisp/dired.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/dired.el b/lisp/dired.el
index 41b46d4..1348df6 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]