summaryrefslogtreecommitdiff
path: root/lisp/vc-dir.el
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2008-07-01 14:31:28 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2008-07-01 14:31:28 +0000
commit03953ed218dfe970442ab69eb6911e8b76ee5584 (patch)
treef2954bc7b692fe7a365aa2eb9bd46330c2dd17ff /lisp/vc-dir.el
parent79ca7db176e428bd6a60c5baf65a0676863324c2 (diff)
(vc-dir-mode): Set list-buffers-function.
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 ac591c6494..5beba0be5b 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.