From: Dan Nicolaescu Date: Tue, 1 Jul 2008 14:31:28 +0000 (+0000) Subject: (vc-dir-mode): Set list-buffers-function. X-Git-Tag: emacs-pretest-23.0.90~4360 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=03953ed218dfe970442ab69eb6911e8b76ee5584;p=emacs.git (vc-dir-mode): Set list-buffers-function. --- 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.