From: Richard M. Stallman Date: Wed, 14 Jun 1995 12:05:55 +0000 (+0000) Subject: (shell-mode): Make shell-directory-tracker a hook function locally only. X-Git-Tag: emacs-19.34~3646 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1458efa037c5d2a7f43c4a980e2dc170f475d0ad;p=emacs.git (shell-mode): Make shell-directory-tracker a hook function locally only. --- 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))