aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 125d3ed7f0f..a1956824214 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -10049,7 +10049,9 @@ move_it_to (struct it *it, ptrdiff_t to_charpos, int to_x, int to_y, int to_vpos
10049 it->continuation_lines_width = 0; 10049 it->continuation_lines_width = 0;
10050 reseat_at_next_visible_line_start (it, false); 10050 reseat_at_next_visible_line_start (it, false);
10051 if ((op & MOVE_TO_POS) != 0 10051 if ((op & MOVE_TO_POS) != 0
10052 && IT_CHARPOS (*it) > to_charpos) 10052 && (IT_CHARPOS (*it) > to_charpos
10053 || (IT_CHARPOS (*it) == to_charpos
10054 && to_charpos == ZV)))
10053 { 10055 {
10054 reached = 9; 10056 reached = 9;
10055 goto out; 10057 goto out;