diff lisp/comint.el @ 30694:766ccccf5c4f

(comint-output-filter): Properly handle the case where the text surrounded by comint-last-output-overlay was deleted.
author Miles Bader <miles@gnu.org>
date Tue, 08 Aug 2000 22:55:38 +0000
parents 6f943008c543
children 4ce2b3d23348
line wrap: on
line diff
--- 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)