changeset 11414:60d40ca8c16b

(evaporate_overlays): Fix type error.
author Richard M. Stallman <rms@gnu.org>
date Thu, 13 Apr 1995 16:09:46 +0000
parents 9cd115f44483
children a80915e0d141
files src/buffer.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Thu Apr 13 16:05:43 1995 +0000
+++ b/src/buffer.c	Thu Apr 13 16:09:46 1995 +0000
@@ -2677,7 +2677,7 @@
 	if (endpos < pos)
 	  break;
 	if (endpos == pos && OVERLAY_POSITION (OVERLAY_START (overlay)) == pos
-	    && Foverlay_get (overlay, Qevaporate))
+	    && ! NILP (Foverlay_get (overlay, Qevaporate)))
 	  hit_list = Fcons (overlay, hit_list);
       }
   else
@@ -2690,7 +2690,7 @@
 	if (startpos > pos)
 	  break;
 	if (startpos == pos && OVERLAY_POSITION (OVERLAY_END (overlay)) == pos
-	    && Foverlay_get (overlay, Qevaporate))
+	    && ! NILP (Foverlay_get (overlay, Qevaporate)))
 	  hit_list = Fcons (overlay, hit_list);
       }
   for (; CONSP (hit_list); hit_list = XCONS (hit_list)->cdr)