# HG changeset patch # User Chong Yidong # Date 1225086018 0 # Node ID 68babdd93bd3ce85fcdae2e42de78ba7ac166a0e # Parent af27cd9e080e7ed1fa292999ce5d0569a8407a83 Perform last revert properly. diff -r af27cd9e080e -r 68babdd93bd3 src/xdisp.c --- a/src/xdisp.c Mon Oct 27 05:32:41 2008 +0000 +++ b/src/xdisp.c Mon Oct 27 05:40:18 2008 +0000 @@ -12687,8 +12687,7 @@ 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