From 03953ed218dfe970442ab69eb6911e8b76ee5584 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Tue, 1 Jul 2008 14:31:28 +0000 Subject: [PATCH] (vc-dir-mode): Set list-buffers-function. --- lisp/ChangeLog | 4 ++++ lisp/vc-dir.el | 2 ++ 2 files changed, 6 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e38431894f4..7f9f3ec0b5c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2008-07-01 Dan Nicolaescu + + * vc-dir.el (vc-dir-mode): Set list-buffers-function. + 2008-07-01 Nick Roberts * progmodes/gdb-ui.el (gdb-create-source-file-list): New option. 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. -- 2.39.2