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

(compute_motion): When invisible text cross TO,

return TO, not the start of the invisible text.
parent 9e400f6d
......@@ -1121,7 +1121,10 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
newpos = skip_invisible (pos, &next_boundary, to, window);
if (newpos >= to)
goto after_loop;
pos = min (to, newpos);
goto after_loop;
if (newpos != pos_here)
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