(try_scrolling): Exchange uses of scroll_down_aggressively

and scroll_up_aggressively.
This commit is contained in:
Richard M. Stallman 2002-01-26 23:02:00 +00:00
parent cb96f0941a
commit 46226c1d99

View file

@ -9558,7 +9558,7 @@ try_scrolling (window, just_this_one_p, scroll_conservatively,
amount_to_scroll = scroll_max;
else
{
aggressive = current_buffer->scroll_down_aggressively;
aggressive = current_buffer->scroll_up_aggressively;
height = (WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE (w)
- WINDOW_DISPLAY_HEADER_LINE_HEIGHT (w));
if (NUMBERP (aggressive))
@ -9612,7 +9612,7 @@ try_scrolling (window, just_this_one_p, scroll_conservatively,
amount_to_scroll = scroll_max;
else
{
aggressive = current_buffer->scroll_up_aggressively;
aggressive = current_buffer->scroll_down_aggressively;
height = (WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE (w)
- WINDOW_DISPLAY_HEADER_LINE_HEIGHT (w));
if (NUMBERP (aggressive))