Mercurial > emacs
diff lisp/shell.el @ 70978:b7a7287f9052
(shell-mode): Call shell-dirtrack-mode after list-buffers-directory is
made a local variable, to avoid setting the default value.
| author | Luc Teirlinck <teirllm@auburn.edu> |
|---|---|
| date | Fri, 26 May 2006 22:07:27 +0000 |
| parents | a69f2db3d3ae |
| children | 2f86f394f7bc |
line wrap: on
line diff
--- a/lisp/shell.el Fri May 26 22:07:04 2006 +0000 +++ b/lisp/shell.el Fri May 26 22:07:27 2006 +0000 @@ -433,11 +433,11 @@ (setq shell-dirstack nil) (make-local-variable 'shell-last-dir) (setq shell-last-dir nil) - (shell-dirtrack-mode 1) (setq comint-input-autoexpand shell-input-autoexpand) ;; This is not really correct, since the shell buffer does not really ;; edit this directory. But it is useful in the buffer list and menus. (make-local-variable 'list-buffers-directory) + (shell-dirtrack-mode 1) (setq list-buffers-directory (expand-file-name default-directory)) ;; shell-dependent assignments. (when (ring-empty-p comint-input-ring)
