aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c3
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