summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-06-14 12:05:55 +0000
committerRichard M. Stallman <rms@gnu.org>1995-06-14 12:05:55 +0000
commit206fd5cb8f5e8e4c990baafba97b0bad36567f2d (patch)
treefbdddfb328841a6aa7d9b4439653bac796afa396 /lisp
parent5f9e31019ded41448fafc605db6f716daf2efb5f (diff)
downloademacs-206fd5cb8f5e8e4c990baafba97b0bad36567f2d.tar.gz
(shell-mode): Make shell-directory-tracker a hook function locally only.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/shell.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index 33e10847616..2f297cb588d 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -328,7 +328,7 @@ buffer."
(setq shell-last-dir nil)
(make-local-variable 'shell-dirtrackp)
(setq shell-dirtrackp t)
- (add-hook 'comint-input-filter-functions 'shell-directory-tracker)
+ (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))