aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2003-07-09 14:49:10 +0000
committerStefan Monnier2003-07-09 14:49:10 +0000
commit3e3137667ff855ce9384e25f201611cc964fc23f (patch)
tree7b270a1e9738beaa01ccc7108acd73c8722a8a08 /src
parent26a59e420845339ea8312c596781ef233d9ae0ae (diff)
downloademacs-3e3137667ff855ce9384e25f201611cc964fc23f.tar.gz
emacs-3e3137667ff855ce9384e25f201611cc964fc23f.zip
(set_point_both): Use new type for overlays_(before|after).
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. */