From 9f33212acf32ea34e294ac1b23f1ec392b05970b Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Mon, 27 Oct 2008 05:40:18 +0000 Subject: [PATCH] Perform last revert properly. --- src/xdisp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index e607c3a3cab..d2b62b1ffe0 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -12687,8 +12687,7 @@ 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, it.last_visible_y - 1, -1, - MOVE_TO_POS | MOVE_TO_Y); + move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); /* 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