From: Eli Zaretskii Date: Mon, 28 Jan 2002 16:57:06 +0000 (+0000) Subject: (try_scrolling): Exchange uses of scroll_down_aggressively and X-Git-Tag: emacs-21.2~145 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0fc44fc2766167a4f5e2c99afd391b2fec609836;p=emacs.git (try_scrolling): Exchange uses of scroll_down_aggressively and scroll_up_aggressively. --- diff --git a/src/xdisp.c b/src/xdisp.c index 87e0ca61257..9da2426a93c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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))