aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/comint.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index 010889678ff..3a343303598 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -1137,11 +1137,13 @@ Similarly for Soar, Scheme, etc."
1137 (while functions 1137 (while functions
1138 (funcall (car functions) (concat input "\n")) 1138 (funcall (car functions) (concat input "\n"))
1139 (setq functions (cdr functions)))) 1139 (setq functions (cdr functions))))
1140 (funcall comint-input-sender proc input)
1141 (setq comint-input-ring-index nil) 1140 (setq comint-input-ring-index nil)
1141 ;; Update the markers before we send the input
1142 ;; in case we get output amidst sending the input.
1142 (set-marker comint-last-input-start pmark) 1143 (set-marker comint-last-input-start pmark)
1143 (set-marker comint-last-input-end (point)) 1144 (set-marker comint-last-input-end (point))
1144 (set-marker (process-mark proc) (point)) 1145 (set-marker (process-mark proc) (point))
1146 (funcall comint-input-sender proc input)
1145 (comint-output-filter proc ""))))) 1147 (comint-output-filter proc "")))))
1146 1148
1147;; The purpose of using this filter for comint processes 1149;; The purpose of using this filter for comint processes