diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2009-09-25 04:35:14 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2009-09-25 04:35:14 +0000 |
commit | 11ee8d90b26358e6a0850e712705c5b4e8db1b8f (patch) | |
tree | 1f9bc5c77ae10e3fa481d0bdda56d8a0c63eca4a /lisp/vc-dir.el | |
parent | 21289c5dad0989097dde494c84d7a6177393344b (diff) |
* menu-bar.el (list-buffers-directory): Add docstring.
Make automatically buffer-local.
* dired.el (dired-mode):
* files.el (cd-absolute):
* pcvs.el (cvs-temp-buffer):
* pcvs-util.el (cvs-get-buffer-create):
* shell.el (shell-mode):
* vc-dir.el (vc-dir-mode):
Don't make `list-buffers-directory' buffer local.
Diffstat (limited to 'lisp/vc-dir.el')
-rw-r--r-- | lisp/vc-dir.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/vc-dir.el b/lisp/vc-dir.el index c87366b829..b20e67b948 100644 --- a/lisp/vc-dir.el +++ b/lisp/vc-dir.el @@ -928,8 +928,7 @@ the *vc-dir* buffer. (set (make-local-variable 'vc-ewoc) (ewoc-create #'vc-dir-printer)) (set (make-local-variable 'revert-buffer-function) 'vc-dir-revert-buffer-function) - (set (make-local-variable 'list-buffers-directory) - (expand-file-name default-directory)) + (setq 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. |