# HG changeset patch # User Miles Bader # Date 965775338 0 # Node ID 766ccccf5c4f033e974c1852ab26582e5afd4a7d # Parent fc3acf3f8131f06b9f4fe15bbd6fea60f8e532e3 (comint-output-filter): Properly handle the case where the text surrounded by comint-last-output-overlay was deleted. diff -r fc3acf3f8131 -r 766ccccf5c4f lisp/comint.el --- a/lisp/comint.el Tue Aug 08 18:42:55 2000 +0000 +++ b/lisp/comint.el Tue Aug 08 22:55:38 2000 +0000 @@ -1490,8 +1490,8 @@ ;; 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)