aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1997-01-18 06:10:10 +0000
committerRichard M. Stallman1997-01-18 06:10:10 +0000
commit6414073a99c8a051adac31900fcd5169a1571496 (patch)
treec3666ff8b09e93c80c7e093582af777d7fc8f2e4 /lisp
parent2c7f9082acaacc5ffa29f017ce5e9e22e7aca733 (diff)
downloademacs-6414073a99c8a051adac31900fcd5169a1571496.tar.gz
emacs-6414073a99c8a051adac31900fcd5169a1571496.zip
(shell-mode): Don't set list-buffers-directory.
Diffstat (limited to 'lisp')
-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."
346 (setq shell-dirtrackp t) 346 (setq shell-dirtrackp t)
347 (add-hook 'comint-input-filter-functions 'shell-directory-tracker nil t) 347 (add-hook 'comint-input-filter-functions 'shell-directory-tracker nil t)
348 (setq comint-input-autoexpand shell-input-autoexpand) 348 (setq comint-input-autoexpand shell-input-autoexpand)
349 (make-local-variable 'list-buffers-directory) 349 ;; We used to set list-buffers-directory here, but that was wrong.
350 (setq list-buffers-directory (expand-file-name default-directory)) 350 ;; A shell buffer is not a way of editing a directory.
351 ;; shell-dependent assignments. 351 ;; shell-dependent assignments.
352 (let ((shell (file-name-nondirectory (car 352 (let ((shell (file-name-nondirectory (car
353 (process-command (get-buffer-process (current-buffer))))))) 353 (process-command (get-buffer-process (current-buffer)))))))