1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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

surrounded by comint-last-output-overlay was deleted.
This commit is contained in:
Miles Bader 2000-08-08 22:55:38 +00:00
parent 25ad137130
commit 5ed65b55a5

View file

@ -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)
(point)))
(equal (overlay-end comint-last-output-overlay)
(point)))
;; Create a new overlay
(let ((over (make-overlay ostart (point))))
(overlay-put over 'field 'output)