From: Kim F. Storm Date: Mon, 2 May 2005 09:14:38 +0000 (+0000) Subject: (move_it_in_display_line_to): Fix last change. X-Git-Tag: ttn-vms-21-2-B4~580 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5fd5f17c161bd216001f505c2c02e6ff609a783f;p=emacs.git (move_it_in_display_line_to): Fix last change. --- 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) /* Stop if we move beyond TO_CHARPOS (after an image or stretch glyph). */ if ((op & MOVE_TO_POS) != 0 && BUFFERP (it->object) + && it->method == GET_FROM_BUFFER && IT_CHARPOS (*it) > to_charpos) { result = MOVE_POS_MATCH_OR_ZV;