aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorRichard M. Stallman2003-01-06 00:49:20 +0000
committerRichard M. Stallman2003-01-06 00:49:20 +0000
commit4e0692c153c7123cda6b2135240f56e4025c9691 (patch)
treefdd5b4dc26453b30cbb100bd20de335358080f87 /src/buffer.c
parent222151aa9c5cc9a1c0c6a376b7e10024cefe5d65 (diff)
downloademacs-4e0692c153c7123cda6b2135240f56e4025c9691.tar.gz
emacs-4e0692c153c7123cda6b2135240f56e4025c9691.zip
(syms_of_buffer) <scroll-up-aggressively, scroll-down-aggressively>: Doc fixes.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c26
1 files changed, 18 insertions, 8 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 9e7b71805b8..95876c19438 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5520,18 +5520,28 @@ window-systems. */);
5520 5520
5521 DEFVAR_PER_BUFFER ("scroll-up-aggressively", 5521 DEFVAR_PER_BUFFER ("scroll-up-aggressively",
5522 &current_buffer->scroll_up_aggressively, Qnil, 5522 &current_buffer->scroll_up_aggressively, Qnil,
5523 doc: /* *If a number, scroll display up aggressively. 5523 doc: /* How far to scroll windows upward.
5524If scrolling a window because point is below the window end, choose 5524If you move point off the bottom, the window scrolls automatically.
5525a new window start so that point ends up that fraction of the window's 5525This variable controls how far it scrolls. nil, the default,
5526height from the bottom of the window. Meaningful values are 5526means scroll to center point. A fraction means scroll to put point
5527that fraction of the window's height from the bottom of the window.
5528When the value is 0.0, point goes at the bottom line, which in the simple
5529case that you moved off with C-f means scrolling just one line. 1.0 means
5530point goes at the top, so that in that simple case, the window
5531window scrolls by a full window height. Meaningful values are
5527between 0.0 and 1.0, inclusive. */); 5532between 0.0 and 1.0, inclusive. */);
5528 5533
5529 DEFVAR_PER_BUFFER ("scroll-down-aggressively", 5534 DEFVAR_PER_BUFFER ("scroll-down-aggressively",
5530 &current_buffer->scroll_down_aggressively, Qnil, 5535 &current_buffer->scroll_down_aggressively, Qnil,
5531 doc: /* *If a number, scroll display down aggressively. 5536 doc: /* How far to scroll windows downward.
5532If scrolling a window because point is above the window start, choose 5537If you move point off the top, the window scrolls automatically.
5533a new window start so that point ends up that fraction of the window's 5538This variable controls how far it scrolls. nil, the default,
5534height from the top of the window. Meaningful values are 5539means scroll to center point. A fraction means scroll to put point
5540that fraction of the window's height from the top of the window.
5541When the value is 0.0, point goes at the top line, which in the simple
5542case that you moved off with C-b means scrolling just one line. 1.0 means
5543point goes at the bottom, so that in that simple case, the window
5544window scrolls by a full window height. Meaningful values are
5535between 0.0 and 1.0, inclusive. */); 5545between 0.0 and 1.0, inclusive. */);
5536 5546
5537/*DEFVAR_LISP ("debug-check-symbol", &Vcheck_symbol, 5547/*DEFVAR_LISP ("debug-check-symbol", &Vcheck_symbol,