]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix small error in comint-send-input
authorMiha Rihtaršič <miha@kamnitnik.top>
Tue, 5 Oct 2021 07:42:28 +0000 (09:42 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 5 Oct 2021 07:42:28 +0000 (09:42 +0200)
* lisp/comint.el (comint-send-input): Run
comint-output-filter-functions with comint-last-output-start set
correctly (bug#51009).

lisp/comint.el

index 1e5b990c77a58d4dad90ab0724c0897846c9c581..a0873c0b6a1f1d54be53c0e42fb72c428028a750 100644 (file)
@@ -1990,6 +1990,7 @@ Similarly for Soar, Scheme, etc."
 
         ;; This used to call comint-output-filter-functions,
         ;; but that scrolled the buffer in undesirable ways.
+        (set-marker comint-last-output-start pmark)
         (run-hook-with-args 'comint-output-filter-functions "")))))
 
 (defvar comint-preoutput-filter-functions nil