From: Chong Yidong Date: Mon, 27 Oct 2008 05:40:18 +0000 (+0000) Subject: Perform last revert properly. X-Git-Tag: emacs-pretest-23.0.90~2164 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f33212acf32ea34e294ac1b23f1ec392b05970b;p=emacs.git Perform last revert properly. --- 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