changeset 99156:68babdd93bd3

Perform last revert properly.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 27 Oct 2008 05:40:18 +0000
parents af27cd9e080e
children 5421f3e36aca
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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