Commit 3e313766 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(set_point_both): Use new type for overlays_(before|after).

parent 26a59e42
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment