[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 570e2c9 2/3: Fix small error in comint-send-input
From: |
Lars Ingebrigtsen |
Subject: |
emacs-28 570e2c9 2/3: Fix small error in comint-send-input |
Date: |
Tue, 5 Oct 2021 05:12:16 -0400 (EDT) |
branch: emacs-28
commit 570e2c9a17ca0b2964bb79e18b8cb5dda5fe9a98
Author: Miha Rihtaršič <miha@kamnitnik.top>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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).
---
lisp/comint.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/comint.el b/lisp/comint.el
index 1e5b990..a0873c0 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -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