Mercurial > emacs
changeset 42981:a57f4686f16b
(try_scrolling): Exchange uses of scroll_down_aggressively
and scroll_up_aggressively.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 26 Jan 2002 23:02:00 +0000 |
parents | 6134751ae11f |
children | 7c5115d286df |
files | src/xdisp.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Sat Jan 26 22:47:39 2002 +0000 +++ b/src/xdisp.c Sat Jan 26 23:02:00 2002 +0000 @@ -9558,7 +9558,7 @@ 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 @@ 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))