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. */