Mercurial > emacs
changeset 100772:87e66edb874a
(move_it_to): Handle GET_FROM_STRETCH method when checking for pos
match.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Tue, 30 Dec 2008 14:50:19 +0000 |
parents | fad34d727ca8 |
children | 901d646738f9 |
files | src/xdisp.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Tue Dec 30 14:49:28 2008 +0000 +++ b/src/xdisp.c Tue Dec 30 14:50:19 2008 +0000 @@ -7206,7 +7206,8 @@ 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