Commit 0df8950e authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(set_point): When moving over invis chars,

don't screw up at end of buffer.
parent 44a53673
......@@ -1315,6 +1315,9 @@ set_point (position, buffer)
{
toprev = to;
to = next_interval (to);
if (NULL_INTERVAL_P (to))
position = BUF_ZV (buffer);
else
position = to->position;
}
......
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