From: Richard M. Stallman Date: Sun, 3 Jul 2005 16:39:00 +0000 (+0000) Subject: (Textual Scrolling): Doc 3 values for scroll-preserve-screen-position. X-Git-Tag: emacs-pretest-22.0.90~8486 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dd25d0222f956232fb9cd0e49e644a85ff0b7709;p=emacs.git (Textual Scrolling): Doc 3 values for scroll-preserve-screen-position. --- diff --git a/lispref/windows.texi b/lispref/windows.texi index 5a58c31f39a..ec372d98aa8 100644 --- a/lispref/windows.texi +++ b/lispref/windows.texi @@ -1523,9 +1523,12 @@ does not work with @code{scroll-margin}. The default value is zero. @end defopt @defopt scroll-preserve-screen-position -If this option is non-@code{nil}, the scroll functions move point so -that the vertical position of the cursor is unchanged, when that is -possible. +If this option is @code{t}, scrolling which would move the current +point position out of the window chooses the new position of point +so that the vertical position of the cursor is unchanged, if possible. + +If it is non-@code{nil} and not @code{t}, then the scrolling functions +always preserve the vertical position of point, if possible. @end defopt @defopt next-screen-context-lines