diff options
| author | Dan Nicolaescu | 2008-07-01 14:31:28 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-07-01 14:31:28 +0000 |
| commit | 03953ed218dfe970442ab69eb6911e8b76ee5584 (patch) | |
| tree | f2954bc7b692fe7a365aa2eb9bd46330c2dd17ff | |
| parent | 79ca7db176e428bd6a60c5baf65a0676863324c2 (diff) | |
| download | emacs-03953ed218dfe970442ab69eb6911e8b76ee5584.tar.gz emacs-03953ed218dfe970442ab69eb6911e8b76ee5584.zip | |
(vc-dir-mode): Set list-buffers-function.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/vc-dir.el | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e38431894f4..7f9f3ec0b5c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-07-01 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * vc-dir.el (vc-dir-mode): Set list-buffers-function. | ||
| 4 | |||
| 1 | 2008-07-01 Nick Roberts <nickrob@snap.net.nz> | 5 | 2008-07-01 Nick Roberts <nickrob@snap.net.nz> |
| 2 | 6 | ||
| 3 | * progmodes/gdb-ui.el (gdb-create-source-file-list): New option. | 7 | * 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 | |||
| 810 | (vc-dir-headers vc-dir-backend default-directory))) | 810 | (vc-dir-headers vc-dir-backend default-directory))) |
| 811 | (set (make-local-variable 'revert-buffer-function) | 811 | (set (make-local-variable 'revert-buffer-function) |
| 812 | 'vc-dir-revert-buffer-function) | 812 | 'vc-dir-revert-buffer-function) |
| 813 | (set (make-local-variable 'list-buffers-directory) | ||
| 814 | (expand-file-name default-directory)) | ||
| 813 | (add-hook 'after-save-hook 'vc-dir-resynch-file) | 815 | (add-hook 'after-save-hook 'vc-dir-resynch-file) |
| 814 | ;; Make sure that if the directory buffer is killed, the update | 816 | ;; Make sure that if the directory buffer is killed, the update |
| 815 | ;; process running in the background is also killed. | 817 | ;; process running in the background is also killed. |