From c3935f9df31c3dd63e7abf3dbd7dc43f936115e5 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 13 Apr 1995 16:09:46 +0000 Subject: [PATCH] (evaporate_overlays): Fix type error. --- src/buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/buffer.c b/src/buffer.c index 6cf0e232c27..0043a442be1 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -2677,7 +2677,7 @@ evaporate_overlays (pos) 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 @@ evaporate_overlays (pos) 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) -- 2.39.5