From: Chong Yidong Date: Tue, 30 Dec 2008 14:50:19 +0000 (+0000) Subject: (move_it_to): Handle GET_FROM_STRETCH method when checking for pos X-Git-Tag: emacs-pretest-23.0.90~805 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d8abe9d8dd9bf0798a4381be1cb11ac92b5fb8bd;p=emacs.git (move_it_to): Handle GET_FROM_STRETCH method when checking for pos match. --- diff --git a/src/xdisp.c b/src/xdisp.c index ee5ecbab447..60a132337f9 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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