diff --git a/lisp/comint.el b/lisp/comint.el index 238f0601a79..f3922f3407d 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -512,7 +512,6 @@ 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-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)