changeset 16877:f9d43993ed5a

(shell-mode): Don't set list-buffers-directory.
author Richard M. Stallman <rms@gnu.org>
date Sat, 18 Jan 1997 06:10:10 +0000
parents 34fa99fb91d1
children ffc3290d43bf
files lisp/shell.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/shell.el	Sat Jan 18 06:08:37 1997 +0000
+++ b/lisp/shell.el	Sat Jan 18 06:10:10 1997 +0000
@@ -346,8 +346,8 @@
   (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)))))))