summaryrefslogtreecommitdiff
path: root/src/intervals.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2003-07-09 14:49:10 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2003-07-09 14:49:10 +0000
commit3e3137667ff855ce9384e25f201611cc964fc23f (patch)
tree7b270a1e9738beaa01ccc7108acd73c8722a8a08 /src/intervals.c
parent26a59e420845339ea8312c596781ef233d9ae0ae (diff)
downloademacs-3e3137667ff855ce9384e25f201611cc964fc23f.tar.gz
(set_point_both): Use new type for overlays_(before|after).
Diffstat (limited to 'src/intervals.c')
-rw-r--r--src/intervals.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/intervals.c b/src/intervals.c
index 6ad4ae8d1e9..9c6a4ef98d4 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -2009,8 +2009,7 @@ set_point_both (buffer, charpos, bytepos)
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. */