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.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/vc-dir.el b/lisp/vc-dir.el
index ac591c64941..5beba0be5b9 100644
--- a/lisp/vc-dir.el
+++ b/lisp/vc-dir.el
@@ -810,6 +810,8 @@ U - if the cursor is on a file: unmark all the files with the same state
(vc-dir-headers vc-dir-backend default-directory)))
(set (make-local-variable 'revert-buffer-function)
'vc-dir-revert-buffer-function)
+ (set (make-local-variable 'list-buffers-directory)
+ (expand-file-name default-directory))
(add-hook 'after-save-hook 'vc-dir-resynch-file)
;; Make sure that if the directory buffer is killed, the update
;; process running in the background is also killed.