From: Miles Bader Date: Tue, 8 Aug 2000 22:55:38 +0000 (+0000) Subject: (comint-output-filter): Properly handle the case where the text X-Git-Tag: emacs-pretest-21.0.90~2403 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5ed65b55a53119a6c221a0620a47e031b16cc7e4;p=emacs.git (comint-output-filter): Properly handle the case where the text surrounded by comint-last-output-overlay was deleted. --- 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)