aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2008-10-27 05:32:22 +0000
committerChong Yidong2008-10-27 05:32:22 +0000
commit891f9832f32eab0f89782c3585a46524af71205d (patch)
treedc3649bcee028c7ec356366bf9494861863efe56 /src
parent95c97c11e0fbd7d6550e44fee82500d4c2896700 (diff)
downloademacs-891f9832f32eab0f89782c3585a46524af71205d.tar.gz
emacs-891f9832f32eab0f89782c3585a46524af71205d.zip
Reverse last change.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index d2b62b1ffe0..e607c3a3cab 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -12687,7 +12687,8 @@ try_scrolling (window, just_this_one_p, scroll_conservatively,
12687 window, or below. Compute the distance from the scroll 12687 window, or below. Compute the distance from the scroll
12688 margin to PT, and give up if the distance is greater than 12688 margin to PT, and give up if the distance is greater than
12689 scroll_max. */ 12689 scroll_max. */
12690 move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); 12690 move_it_to (&it, PT, -1, it.last_visible_y - 1, -1,
12691 MOVE_TO_POS | MOVE_TO_Y);
12691 12692
12692 /* To make point visible, we must move the window start down 12693 /* To make point visible, we must move the window start down
12693 so that the cursor line is visible, which means we have 12694 so that the cursor line is visible, which means we have