changeset 26210:fc4fefae9970

Patch from rms.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 27 Oct 1999 09:08:15 +0000
parents 5ccc37bcd99c
children df0efa93750b
files lispref/windows.texi
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/windows.texi	Wed Oct 27 04:59:52 1999 +0000
+++ b/lispref/windows.texi	Wed Oct 27 09:08:15 1999 +0000
@@ -1308,6 +1308,26 @@
 value is zero.
 @end defopt
 
+@defopt scroll-up-aggressively
+@tindex scroll-up-aggressively
+The value of this variable should be either @code{nil} or a fraction
+@var{f} between 0 and 1.  If it is a fraction, that specifies where on
+the screen to put point when scrolling upward.  More precisely, when a
+window scrolls up because point is above the window start, the new start
+position is chosen to put point @var{f} part of the window height from
+the top.  The larger @var{f}, the more aggressive the scrolling.
+
+A value of @code{nil} is equivalent to .5, since it centers point.  This
+variable automatically becomes buffer-local when set in any fashion.
+@end defopt
+
+@defopt scroll-down-aggressively
+@tindex scroll-down-aggressively
+Likewise, for scrolling down.  The value, @var{f}, specifies how far
+point should be placed from the bottom of the window; thus, as with
+@code{scroll-up-aggressively}, a larger value scrolls more aggressively.
+@end defopt
+
 @defopt scroll-step
 This variable is an older variant of @code{scroll-conservatively}.  The
 difference is that it if its value is @var{n}, that permits scrolling