changeset 49057:8c97b527621e

(syms_of_buffer) <scroll-up-aggressively, scroll-down-aggressively>: Doc fixes.
author Richard M. Stallman <rms@gnu.org>
date Mon, 06 Jan 2003 00:49:20 +0000
parents 88f14a14e005
children d96550be16ab
files src/buffer.c
diffstat 1 files changed, 18 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Mon Jan 06 00:47:38 2003 +0000
+++ b/src/buffer.c	Mon Jan 06 00:49:20 2003 +0000
@@ -5520,18 +5520,28 @@
   
   DEFVAR_PER_BUFFER ("scroll-up-aggressively",
 		     &current_buffer->scroll_up_aggressively, Qnil,
-		     doc: /* *If a number, scroll display up aggressively.
-If scrolling a window because point is below the window end, choose
-a new window start so that point ends up that fraction of the window's
-height from the bottom of the window.  Meaningful values are
+		     doc: /* How far to scroll windows upward.
+If you move point off the bottom, the window scrolls automatically.
+This variable controls how far it scrolls.  nil, the default,
+means scroll to center point.  A fraction means scroll to put point
+that fraction of the window's height from the bottom of the window.
+When the value is 0.0, point goes at the bottom line, which in the simple
+case that you moved off with C-f means scrolling just one line.  1.0 means
+point goes at the top, so that in that simple case, the window
+window scrolls by a full window height.  Meaningful values are
 between 0.0 and 1.0, inclusive.  */);
   
   DEFVAR_PER_BUFFER ("scroll-down-aggressively",
 		     &current_buffer->scroll_down_aggressively, Qnil,
-		     doc: /* *If a number, scroll display down aggressively.
-If scrolling a window because point is above the window start, choose
-a new window start so that point ends up that fraction of the window's
-height from the top of the window.  Meaningful values are
+		     doc: /* How far to scroll windows downward.
+If you move point off the top, the window scrolls automatically.
+This variable controls how far it scrolls.  nil, the default,
+means scroll to center point.  A fraction means scroll to put point
+that fraction of the window's height from the top of the window.
+When the value is 0.0, point goes at the top line, which in the simple
+case that you moved off with C-b means scrolling just one line.  1.0 means
+point goes at the bottom, so that in that simple case, the window
+window scrolls by a full window height.  Meaningful values are
 between 0.0 and 1.0, inclusive.  */);
   
 /*DEFVAR_LISP ("debug-check-symbol", &Vcheck_symbol,