summaryrefslogtreecommitdiff
path: root/lisp/shell.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-01-18 06:10:10 +0000
committerRichard M. Stallman <rms@gnu.org>1997-01-18 06:10:10 +0000
commit399df943776e84d14569c652b55785e8ab8012e7 (patch)
tree87e09d43463065a097d420a6cb6d749b3f34c471 /lisp/shell.el
parentd73a3a218076ffc9ab7692030b136112e8c951a2 (diff)
downloademacs-399df943776e84d14569c652b55785e8ab8012e7.tar.gz
(shell-mode): Don't set list-buffers-directory.
Diffstat (limited to 'lisp/shell.el')
-rw-r--r--lisp/shell.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index 1d4dfcef3c1..97e9589be27 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -346,8 +346,8 @@ buffer."
(setq shell-dirtrackp t)
(add-hook 'comint-input-filter-functions 'shell-directory-tracker nil t)
(setq comint-input-autoexpand shell-input-autoexpand)
- (make-local-variable 'list-buffers-directory)
- (setq list-buffers-directory (expand-file-name default-directory))
+ ;; We used to set list-buffers-directory here, but that was wrong.
+ ;; A shell buffer is not a way of editing a directory.
;; shell-dependent assignments.
(let ((shell (file-name-nondirectory (car
(process-command (get-buffer-process (current-buffer)))))))