changeset 79520:6044d42748d3

(syms_of_xdisp) <scroll-conservatively>: Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Sat, 01 Dec 2007 22:44:02 +0000
parents 1039328362ed
children 1debfb750bf0
files src/xdisp.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sat Dec 01 21:30:32 2007 +0000
+++ b/src/xdisp.c	Sat Dec 01 22:44:02 2007 +0000
@@ -24104,8 +24104,12 @@
 
   DEFVAR_INT ("scroll-conservatively", &scroll_conservatively,
     doc: /* *Scroll up to this many lines, to bring point back on screen.
-A value of zero means to scroll the text to center point vertically
-in the window.  */);
+If point moves off-screen, redisplay will scroll by up to
+`scroll-conservatively' lines in order to bring point just barely
+onto the screen again.   If that cannot be done, then redisplay
+recenters point as usual.
+
+A value of zero means always recenter point if it moves off screen.  */);
   scroll_conservatively = 0;
 
   DEFVAR_INT ("scroll-margin", &scroll_margin,