From 1458efa037c5d2a7f43c4a980e2dc170f475d0ad Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 14 Jun 1995 12:05:55 +0000 Subject: [PATCH] (shell-mode): Make shell-directory-tracker a hook function locally only. --- lisp/shell.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.2