aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorSimon Marshall1998-09-29 10:14:44 +0000
committerSimon Marshall1998-09-29 10:14:44 +0000
commitd2b251aa61a97db704dbafee58635be63e9a3b2f (patch)
treea34837c1a45eb8cfc96313ccc8d492e8973e0506 /lisp
parent054e5c2010ca91e68c1ecfba6dd4da9b3416a0d9 (diff)
downloademacs-d2b251aa61a97db704dbafee58635be63e9a3b2f.tar.gz
emacs-d2b251aa61a97db704dbafee58635be63e9a3b2f.zip
make pre-command-hook & comint-exec-hook local hooks.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/comint.el6
1 files changed, 3 insertions, 3 deletions
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'."
467 (make-local-variable 'comint-scroll-to-bottom-on-input) 467 (make-local-variable 'comint-scroll-to-bottom-on-input)
468 (make-local-variable 'comint-scroll-to-bottom-on-output) 468 (make-local-variable 'comint-scroll-to-bottom-on-output)
469 (make-local-variable 'comint-scroll-show-maximum-output) 469 (make-local-variable 'comint-scroll-show-maximum-output)
470 (make-local-variable 'pre-command-hook) 470 (make-local-hook 'pre-command-hook)
471 (add-hook 'pre-command-hook 'comint-preinput-scroll-to-bottom) 471 (add-hook 'pre-command-hook 'comint-preinput-scroll-to-bottom t t)
472 (make-local-hook 'comint-output-filter-functions) 472 (make-local-hook 'comint-output-filter-functions)
473 (make-local-hook 'comint-exec-hook)
473 (make-local-variable 'comint-ptyp) 474 (make-local-variable 'comint-ptyp)
474 (make-local-variable 'comint-exec-hook)
475 (make-local-variable 'comint-process-echoes) 475 (make-local-variable 'comint-process-echoes)
476 (make-local-variable 'comint-file-name-chars) 476 (make-local-variable 'comint-file-name-chars)
477 (make-local-variable 'comint-file-name-quote-list) 477 (make-local-variable 'comint-file-name-quote-list)