1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-23 04:53:12 -08:00

(try_scrolling): Exchange uses of scroll_down_aggressively and

scroll_up_aggressively.
This commit is contained in:
Eli Zaretskii 2002-01-28 16:57:06 +00:00
parent 2ea00ed0fb
commit 0fc44fc276

View file

@ -9507,7 +9507,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))
@ -9561,7 +9561,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))