summaryrefslogtreecommitdiff
path: root/lisp/vc-dir.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/vc-dir.el')
-rw-r--r--lisp/vc-dir.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/vc-dir.el b/lisp/vc-dir.el
index 2f661e8becf..a0350eb3013 100644
--- a/lisp/vc-dir.el
+++ b/lisp/vc-dir.el
@@ -938,6 +938,7 @@ the *vc-dir* buffer.
;; Make sure that if the directory buffer is killed, the update
;; process running in the background is also killed.
(add-hook 'kill-buffer-query-functions 'vc-dir-kill-query nil t)
+ (hack-dir-local-variables-non-file-buffer)
(vc-dir-refresh)))
(defun vc-dir-headers (backend dir)