mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-13 09:32:47 +00:00
(set_point_both): Use new type for overlays_(before|after).
This commit is contained in:
parent
26a59e4208
commit
3e3137667f
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user