1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

Fix small error in comint-send-input

* lisp/comint.el (comint-send-input): Run
comint-output-filter-functions with comint-last-output-start set
correctly (bug#51009).
This commit is contained in:
Miha Rihtaršič 2021-10-05 09:42:28 +02:00 committed by Lars Ingebrigtsen
parent fd7bb31412
commit 570e2c9a17

View File

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