Mercurial > emacs
changeset 99154:205d4e040316
Reverse last change.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 27 Oct 2008 05:32:22 +0000 |
parents | d03ac65823d1 |
children | af27cd9e080e |
files | src/xdisp.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Mon Oct 27 05:15:37 2008 +0000 +++ b/src/xdisp.c Mon Oct 27 05:32:22 2008 +0000 @@ -12687,7 +12687,8 @@ 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