Commit b43fa134 authored by Luc Teirlinck's avatar Luc Teirlinck
Browse files

(comint-send-input): Call `comint-update-fence' when

`comint-process-echoes' and `comint-prompt-read-only' are both
non-nil, to avoid leftover read-only newline.
parent 8c633bb4
......@@ -1550,7 +1550,11 @@ Similarly for Soar, Scheme, etc."
;; problems when `comint-prompt-read-only' is non-nil.
(let ((inhibit-read-only t))
(delete-region comint-last-input-end
(+ comint-last-input-end echo-len))))))
(+ comint-last-input-end echo-len))
(when comint-prompt-read-only
(goto-char comint-last-input-end)
;; This used to call comint-output-filter-functions,
;; but that scrolled the buffer in undesirable ways.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment