aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2002-01-26 23:02:00 +0000
committerRichard M. Stallman2002-01-26 23:02:00 +0000
commit46226c1d99cde0a85470cda6e7a72b299c3de2b8 (patch)
treeab79eb21186715747adfde41ff255c8577f93700 /src
parentcb96f0941af51dbe1d8084ce488c766f67dcb728 (diff)
downloademacs-46226c1d99cde0a85470cda6e7a72b299c3de2b8.tar.gz
emacs-46226c1d99cde0a85470cda6e7a72b299c3de2b8.zip
(try_scrolling): Exchange uses of scroll_down_aggressively
and scroll_up_aggressively.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 19922bddc7a..d7ae5a4e6cc 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -9558,7 +9558,7 @@ try_scrolling (window, just_this_one_p, scroll_conservatively,
9558 amount_to_scroll = scroll_max; 9558 amount_to_scroll = scroll_max;
9559 else 9559 else
9560 { 9560 {
9561 aggressive = current_buffer->scroll_down_aggressively; 9561 aggressive = current_buffer->scroll_up_aggressively;
9562 height = (WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE (w) 9562 height = (WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE (w)
9563 - WINDOW_DISPLAY_HEADER_LINE_HEIGHT (w)); 9563 - WINDOW_DISPLAY_HEADER_LINE_HEIGHT (w));
9564 if (NUMBERP (aggressive)) 9564 if (NUMBERP (aggressive))
@@ -9612,7 +9612,7 @@ try_scrolling (window, just_this_one_p, scroll_conservatively,
9612 amount_to_scroll = scroll_max; 9612 amount_to_scroll = scroll_max;
9613 else 9613 else
9614 { 9614 {
9615 aggressive = current_buffer->scroll_up_aggressively; 9615 aggressive = current_buffer->scroll_down_aggressively;
9616 height = (WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE (w) 9616 height = (WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE (w)
9617 - WINDOW_DISPLAY_HEADER_LINE_HEIGHT (w)); 9617 - WINDOW_DISPLAY_HEADER_LINE_HEIGHT (w));
9618 if (NUMBERP (aggressive)) 9618 if (NUMBERP (aggressive))