Mercurial > emacs
diff src/xdisp.c @ 91204:53108e6cea98
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 06 Dec 2007 09:51:45 +0000 |
parents | cdc63ae7ea34 ec0ef12211d9 |
children | e2f99a24f1e6 |
line wrap: on
line diff
--- a/src/xdisp.c Thu Dec 06 07:36:30 2007 +0000 +++ b/src/xdisp.c Thu Dec 06 09:51:45 2007 +0000 @@ -24494,8 +24494,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,