Commit 3b361baf authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

doc/emacs/display.texi (Auto Scrolling): Fix last change.

parent c5c9f40f
...@@ -194,16 +194,18 @@ how aggressively it scrolls by setting the variables ...@@ -194,16 +194,18 @@ how aggressively it scrolls by setting the variables
@code{scroll-up-aggressively} and @code{scroll-down-aggressively}. @code{scroll-up-aggressively} and @code{scroll-down-aggressively}.
The value of @code{scroll-up-aggressively} should be either The value of @code{scroll-up-aggressively} should be either
@code{nil}, or a fraction @var{f} between 0 and 1. A fraction @code{nil}, or a fraction @var{f} between 0 and 1. A fraction
specifies where on the screen to put point when scrolling upward: when specifies where on the screen to put point when scrolling upward,
a window scrolls up because point below the window end, the new start i.e.@: when point moves forward in the buffer, and therefore text
position is chosen to put point @var{f} parts of the window height scrolls up in the window. When point goes off the window end, the new
from the bottom. Thus, larger @var{f} means more aggressive start position is chosen to put point @var{f} parts of the window
scrolling. The default value, @code{nil}, is equivalent to 0.5. height from the bottom. Thus, larger @var{f} means more aggressive
scrolling: more new text is brought into view. The default value,
@code{nil}, is equivalent to 0.5.
Likewise, @code{scroll-down-aggressively} is used for scrolling Likewise, @code{scroll-down-aggressively} is used for scrolling
down. The value specifies how far point should be placed from the top down, i.e.@: moving point back in the buffer. The value specifies how
of the window; thus, as with @code{scroll-up-aggressively}, a larger far point should be placed from the top of the window; thus, as with
value is more aggressive. @code{scroll-up-aggressively}, a larger value is more aggressive.
@vindex scroll-margin @vindex scroll-margin
The variable @code{scroll-margin} restricts how close point can come The variable @code{scroll-margin} restricts how close point can come
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment