diff lisp/comint.el @ 16546:06f92ef2857c

(comint-output-filter): Run comint-output-filter-functions directly, not via comint-output-filter.
author Richard M. Stallman <rms@gnu.org>
date Sat, 09 Nov 1996 09:21:20 +0000
parents 258a28c21b74
children 2a181da249e0
line wrap: on
line diff
--- a/lisp/comint.el	Sat Nov 09 09:06:52 1996 +0000
+++ b/lisp/comint.el	Sat Nov 09 09:21:20 1996 +0000
@@ -1192,7 +1192,9 @@
 	  (set-marker comint-last-input-end (point))
 	  (set-marker (process-mark proc) (point))
 	  (funcall comint-input-sender proc input)
-	  (comint-output-filter proc "")))))
+	  ;; This used to call comint-output-filter-functions,
+	  ;; but that scrolled the buffer in undesirable ways.
+	  (run-hook-with-args 'comint-output-filter-functions "")))))
 
 ;; The purpose of using this filter for comint processes
 ;; is to keep comint-last-input-end from moving forward