Mercurial > emacs
diff lisp/comint.el @ 23347:49e47671810d
make pre-command-hook & comint-exec-hook local hooks.
author | Simon Marshall <simon@gnu.org> |
---|---|
date | Tue, 29 Sep 1998 10:14:44 +0000 |
parents | 601bf7681009 |
children | f182b7006b7a |
line wrap: on
line diff
--- a/lisp/comint.el Tue Sep 29 08:45:12 1998 +0000 +++ b/lisp/comint.el Tue Sep 29 10:14:44 1998 +0000 @@ -467,11 +467,11 @@ (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)