Mercurial > emacs
changeset 96474:9a72b6660355
(vc-dir-mode): Set list-buffers-function.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Tue, 01 Jul 2008 14:31:28 +0000 |
parents | fc17970f7da9 |
children | fa83184d8296 |
files | lisp/ChangeLog lisp/vc-dir.el |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue Jul 01 14:01:06 2008 +0000 +++ b/lisp/ChangeLog Tue Jul 01 14:31:28 2008 +0000 @@ -1,3 +1,7 @@ +2008-07-01 Dan Nicolaescu <dann@ics.uci.edu> + + * vc-dir.el (vc-dir-mode): Set list-buffers-function. + 2008-07-01 Nick Roberts <nickrob@snap.net.nz> * progmodes/gdb-ui.el (gdb-create-source-file-list): New option.
--- a/lisp/vc-dir.el Tue Jul 01 14:01:06 2008 +0000 +++ b/lisp/vc-dir.el Tue Jul 01 14:31:28 2008 +0000 @@ -810,6 +810,8 @@ (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.