diff options
| author | Kim F. Storm | 2005-05-02 09:14:38 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2005-05-02 09:14:38 +0000 |
| commit | 5fd5f17c161bd216001f505c2c02e6ff609a783f (patch) | |
| tree | 546fa07fa34b1f1273e71d773e1ed3c83ebbb07d /src | |
| parent | 4b3f161f5b0b04a83975164ec1574b5728789444 (diff) | |
| download | emacs-5fd5f17c161bd216001f505c2c02e6ff609a783f.tar.gz emacs-5fd5f17c161bd216001f505c2c02e6ff609a783f.zip | |
(move_it_in_display_line_to): Fix last change.
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; |