Commit 5ed65b55 authored by Miles Bader's avatar Miles Bader
Browse files

(comint-output-filter): Properly handle the case where the text

  surrounded by comint-last-output-overlay was deleted.
parent 25ad1371
......@@ -1490,8 +1490,8 @@ This variable is permanent-local.")
;; inserted with insert-before-markers?), and only make
;; a new overlay if it hasn't.
(unless (and comint-last-output-overlay
(= (overlay-end comint-last-output-overlay)
(equal (overlay-end comint-last-output-overlay)
;; Create a new overlay
(let ((over (make-overlay ostart (point))))
(overlay-put over 'field 'output)
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