From: Chong Yidong Date: Mon, 27 Oct 2008 05:32:22 +0000 (+0000) Subject: Reverse last change. X-Git-Tag: emacs-pretest-23.0.90~2166 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=891f9832f32eab0f89782c3585a46524af71205d;p=emacs.git Reverse last change. --- 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