Commit fa7c3759 authored by Karl Heuer's avatar Karl Heuer

(set_point): Skip past intangible regions.

parent 07c57952
......@@ -1650,12 +1650,10 @@ set_point (position, buffer)
return;
}
/* If the new position is before an invisible character
that has an `invisible' property of value `hidden',
/* If the new position is before an intangible character,
move forward over all such. */
while (! NULL_INTERVAL_P (to)
&& EQ (textget (to->plist, Qinvisible), Qhidden)
&& ! DISPLAY_INVISIBLE_GLYPH (to))
&& ! NILP (textget (to->plist, Qintangible)))
{
toprev = to;
to = next_interval (to);
......
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