diff options
| author | Chong Yidong | 2008-12-30 14:50:19 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-12-30 14:50:19 +0000 |
| commit | d8abe9d8dd9bf0798a4381be1cb11ac92b5fb8bd (patch) | |
| tree | e54831fd1ba2ac1d64c8dc0262f19db662e9869f /src | |
| parent | 9d2d22ab07265791f9e75251ea6608f3ce0c4526 (diff) | |
| download | emacs-d8abe9d8dd9bf0798a4381be1cb11ac92b5fb8bd.tar.gz emacs-d8abe9d8dd9bf0798a4381be1cb11ac92b5fb8bd.zip | |
(move_it_to): Handle GET_FROM_STRETCH method when checking for pos
match.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
| 7206 | break; | 7206 | break; |
| 7207 | } | 7207 | } |
| 7208 | else if (BUFFERP (it->object) | 7208 | else if (BUFFERP (it->object) |
| 7209 | && it->method == GET_FROM_BUFFER | 7209 | && (it->method == GET_FROM_BUFFER |
| 7210 | || it->method == GET_FROM_STRETCH) | ||
| 7210 | && IT_CHARPOS (*it) >= to_charpos) | 7211 | && IT_CHARPOS (*it) >= to_charpos) |
| 7211 | skip = MOVE_POS_MATCH_OR_ZV; | 7212 | skip = MOVE_POS_MATCH_OR_ZV; |
| 7212 | else | 7213 | else |