]> code.delx.au - gnu-emacs/blobdiff - lispref/windows.texi
*** empty log message ***
[gnu-emacs] / lispref / windows.texi
index 5596a597ca483c5cdb3401db21ce3d113a0bcb2d..b8ba56bfff788e76c40cd0cb407ddd2cb572910b 100644 (file)
@@ -272,7 +272,7 @@ You could define a simplified version of the function like this:
 (defun split-window-horizontally (&optional arg)
   "Split selected window into two windows, side by side..."
   (interactive "P")
-@endgroup
+@end group
 @group
   (let ((size (and arg (prefix-numeric-value arg))))
     (and size (< size 0)
@@ -1306,6 +1306,28 @@ window.  If the value is a positive integer @var{n}, then redisplay
 scrolls the window up to @var{n} lines in either direction, if that will
 bring point back into view.  Otherwise, it centers point.  The default
 value is zero.
+
+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-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.
+
+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