From 891f9832f32eab0f89782c3585a46524af71205d Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Mon, 27 Oct 2008 05:32:22 +0000 Subject: [PATCH] Reverse last change. --- src/xdisp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index d2b62b1ffe0..e607c3a3cab 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -12687,7 +12687,8 @@ try_scrolling (window, just_this_one_p, scroll_conservatively, window, or below. Compute the distance from the scroll margin to PT, and give up if the distance is greater than scroll_max. */ - move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); + move_it_to (&it, PT, -1, it.last_visible_y - 1, -1, + MOVE_TO_POS | MOVE_TO_Y); /* To make point visible, we must move the window start down so that the cursor line is visible, which means we have -- 2.39.2