]> git.eshelyaron.com Git - emacs.git/commitdiff
(try_scrolling): Exchange uses of scroll_down_aggressively
authorRichard M. Stallman <rms@gnu.org>
Sat, 26 Jan 2002 23:02:00 +0000 (23:02 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 26 Jan 2002 23:02:00 +0000 (23:02 +0000)
and scroll_up_aggressively.

src/xdisp.c

index 19922bddc7ab2d811816b5a41283fcaf40cf066c..d7ae5a4e6cc88746b082b6268c8c19d3c76e8d08 100644 (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))