Commit d8abe9d8 authored by Chong Yidong's avatar Chong Yidong

(move_it_to): Handle GET_FROM_STRETCH method when checking for pos

match.
parent 9d2d22ab
......@@ -7206,7 +7206,8 @@ move_it_to (it, to_charpos, to_x, to_y, to_vpos, op)
break;
}
else if (BUFFERP (it->object)
&& it->method == GET_FROM_BUFFER
&& (it->method == GET_FROM_BUFFER
|| it->method == GET_FROM_STRETCH)
&& IT_CHARPOS (*it) >= to_charpos)
skip = MOVE_POS_MATCH_OR_ZV;
else
......
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