]> git.eshelyaron.com Git - emacs.git/commitdiff
(shell-mode): Don't set list-buffers-directory.
authorRichard M. Stallman <rms@gnu.org>
Sat, 18 Jan 1997 06:10:10 +0000 (06:10 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 18 Jan 1997 06:10:10 +0000 (06:10 +0000)
lisp/shell.el

index 1d4dfcef3c18553eca6553a454b05ab0b0a97ae9..97e9589be27ec298b239dd13195557f985e6c1a9 100644 (file)
@@ -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)))))))