src/xdisp.c (try_scrolling): When scrolling down aggressively,
scroll one screen line less, to make sure we end up at the margin
for fractions close to 1.
+2011-03-29 Eli Zaretskii <eliz@gnu.org>
+
+ * xdisp.c (try_scrolling): When scrolling down aggressively,
+ scroll one screen line less, to make sure we end up at the margin
+ for fractions close to 1.
+
2011-03-28 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (try_scrolling): When point is above the window, allow
amount_to_scroll = float_amount;
if (amount_to_scroll == 0 && float_amount > 0)
amount_to_scroll = 1;
- amount_to_scroll -= this_scroll_margin - dy;
+ amount_to_scroll -=
+ this_scroll_margin - dy - FRAME_LINE_HEIGHT (f);
/* Don't let point enter the scroll margin near
bottom of the window. */
if (amount_to_scroll > height - 2*this_scroll_margin + dy)