aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)
2009 if (charpos > BUF_ZV (buffer) || charpos < BUF_BEGV (buffer)) 2009 if (charpos > BUF_ZV (buffer) || charpos < BUF_BEGV (buffer))
2010 abort (); 2010 abort ();
2011 2011
2012 have_overlays = (! NILP (buffer->overlays_before) 2012 have_overlays = (buffer->overlays_before || buffer->overlays_after);
2013 || ! NILP (buffer->overlays_after));
2014 2013
2015 /* If we have no text properties and overlays, 2014 /* If we have no text properties and overlays,
2016 then we can do it quickly. */ 2015 then we can do it quickly. */