]> git.eshelyaron.com Git - emacs.git/commitdiff
(comint-output-filter): Properly handle the case where the text
authorMiles Bader <miles@gnu.org>
Tue, 8 Aug 2000 22:55:38 +0000 (22:55 +0000)
committerMiles Bader <miles@gnu.org>
Tue, 8 Aug 2000 22:55:38 +0000 (22:55 +0000)
  surrounded by comint-last-output-overlay was deleted.

lisp/comint.el

index 6a0aa2acf0adc85ccc23a754270ab88c7f3dc550..5f738375bf65124456ae28a1e6f088a1120452ca 100644 (file)
@@ -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)