From 5ed65b55a53119a6c221a0620a47e031b16cc7e4 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 8 Aug 2000 22:55:38 +0000 Subject: [PATCH] (comint-output-filter): Properly handle the case where the text surrounded by comint-last-output-overlay was deleted. --- lisp/comint.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/comint.el b/lisp/comint.el index 6a0aa2acf0a..5f738375bf6 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -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) -- 2.39.2