diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 80b2981c5be..5ea68aff049 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -5880,6 +5880,7 @@ move_it_in_display_line_to (it, to_charpos, to_x, op) | |||
| 5880 | /* Stop if we move beyond TO_CHARPOS (after an image or stretch glyph). */ | 5880 | /* Stop if we move beyond TO_CHARPOS (after an image or stretch glyph). */ |
| 5881 | if ((op & MOVE_TO_POS) != 0 | 5881 | if ((op & MOVE_TO_POS) != 0 |
| 5882 | && BUFFERP (it->object) | 5882 | && BUFFERP (it->object) |
| 5883 | && it->method == GET_FROM_BUFFER | ||
| 5883 | && IT_CHARPOS (*it) > to_charpos) | 5884 | && IT_CHARPOS (*it) > to_charpos) |
| 5884 | { | 5885 | { |
| 5885 | result = MOVE_POS_MATCH_OR_ZV; | 5886 | result = MOVE_POS_MATCH_OR_ZV; |