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:
parent
2ea00ed0fb
commit
0fc44fc276
1 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue