changeset 51836:483cd3e6154f

(set_point_both): Use new type for overlays_(before|after).
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 09 Jul 2003 14:49:10 +0000
parents fbd7d4289b8e
children 87ec975874ab
files src/intervals.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/intervals.c	Wed Jul 09 14:48:41 2003 +0000
+++ b/src/intervals.c	Wed Jul 09 14:49:10 2003 +0000
@@ -2009,8 +2009,7 @@
   if (charpos > BUF_ZV (buffer) || charpos < BUF_BEGV (buffer))
     abort ();
 
-  have_overlays = (! NILP (buffer->overlays_before)
-		   || ! NILP (buffer->overlays_after));
+  have_overlays = (buffer->overlays_before || buffer->overlays_after);
 
   /* If we have no text properties and overlays,
      then we can do it quickly.  */