changeset 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 fc3acf3f8131
children 48cc3d076524
files lisp/comint.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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)