changeset 12213:59bfaac6cee2

(shell-mode): Make shell-directory-tracker a hook function locally only.
author Richard M. Stallman <rms@gnu.org>
date Wed, 14 Jun 1995 12:05:55 +0000
parents 5ab666b86a02
children c6ee462394fe
files lisp/shell.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/shell.el	Wed Jun 14 12:05:23 1995 +0000
+++ b/lisp/shell.el	Wed Jun 14 12:05:55 1995 +0000
@@ -328,7 +328,7 @@
   (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))