From: Simon Marshall Date: Tue, 29 Sep 1998 10:14:44 +0000 (+0000) Subject: make pre-command-hook & comint-exec-hook local hooks. X-Git-Tag: emacs-20.4~1602 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d2b251aa61a97db704dbafee58635be63e9a3b2f;p=emacs.git make pre-command-hook & comint-exec-hook local hooks. --- diff --git a/lisp/comint.el b/lisp/comint.el index 563c6e7d770..6b9bd418f97 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)