From 5fd5f17c161bd216001f505c2c02e6ff609a783f Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Mon, 2 May 2005 09:14:38 +0000 Subject: [PATCH] (move_it_in_display_line_to): Fix last change. --- src/xdisp.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2