From dd25d0222f956232fb9cd0e49e644a85ff0b7709 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 3 Jul 2005 16:39:00 +0000 Subject: [PATCH] (Textual Scrolling): Doc 3 values for scroll-preserve-screen-position. --- lispref/windows.texi | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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