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/dired.el | |
parent | 21289c5dad0989097dde494c84d7a6177393344b (diff) | |
download | emacs-11ee8d90b26358e6a0850e712705c5b4e8db1b8f.tar.gz |
* 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/dired.el')
-rw-r--r-- | lisp/dired.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index 0de8022dcc4..1785c787e7b 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -1750,10 +1750,10 @@ Keybindings: (set (make-local-variable 'dired-directory) (or dirname default-directory)) ;; list-buffers uses this to display the dir being edited in this buffer. - (set (make-local-variable 'list-buffers-directory) - (expand-file-name (if (listp dired-directory) - (car dired-directory) - dired-directory))) + (setq list-buffers-directory + (expand-file-name (if (listp dired-directory) + (car dired-directory) + dired-directory))) (set (make-local-variable 'dired-actual-switches) (or switches dired-listing-switches)) (set (make-local-variable 'font-lock-defaults) |