]> git.eshelyaron.com Git - emacs.git/commitdiff
Perform last revert properly.
authorChong Yidong <cyd@stupidchicken.com>
Mon, 27 Oct 2008 05:40:18 +0000 (05:40 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 27 Oct 2008 05:40:18 +0000 (05:40 +0000)
src/xdisp.c

index e607c3a3cab6336abe796be40e31bdbd1917089b..d2b62b1ffe0b0402aac9b7f3c97fe36c51a865ec 100644 (file)
@@ -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