Commit 5fd5f17c authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(move_it_in_display_line_to): Fix last change.

parent 4b3f161f
......@@ -5880,6 +5880,7 @@ move_it_in_display_line_to (it, to_charpos, to_x, op)
/* Stop if we move beyond TO_CHARPOS (after an image or stretch glyph). */
if ((op & MOVE_TO_POS) != 0
&& BUFFERP (it->object)
&& it->method == GET_FROM_BUFFER
&& IT_CHARPOS (*it) > to_charpos)
{
result = MOVE_POS_MATCH_OR_ZV;
......
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