From d2b251aa61a97db704dbafee58635be63e9a3b2f Mon Sep 17 00:00:00 2001 From: Simon Marshall Date: Tue, 29 Sep 1998 10:14:44 +0000 Subject: [PATCH] make pre-command-hook & comint-exec-hook local hooks. --- lisp/comint.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/comint.el b/lisp/comint.el index 563c6e7d77..6b9bd418f9 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -467,11 +467,11 @@ Entry to this mode runs the hooks on `comint-mode-hook'." (make-local-variable 'comint-scroll-to-bottom-on-input) (make-local-variable 'comint-scroll-to-bottom-on-output) (make-local-variable 'comint-scroll-show-maximum-output) - (make-local-variable 'pre-command-hook) - (add-hook 'pre-command-hook 'comint-preinput-scroll-to-bottom) + (make-local-hook 'pre-command-hook) + (add-hook 'pre-command-hook 'comint-preinput-scroll-to-bottom t t) (make-local-hook 'comint-output-filter-functions) + (make-local-hook 'comint-exec-hook) (make-local-variable 'comint-ptyp) - (make-local-variable 'comint-exec-hook) (make-local-variable 'comint-process-echoes) (make-local-variable 'comint-file-name-chars) (make-local-variable 'comint-file-name-quote-list) -- 2.20.1