changeset 43355:60d8b3e0e785

(Horizontal Scrolling): Document automatic-hscroll-margin and automatic-hscroll-step.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 16 Feb 2002 13:15:48 +0000
parents d6acddb696b2
children ba0eac6c2e94
files man/display.texi
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/man/display.texi	Sat Feb 16 13:04:09 2002 +0000
+++ b/man/display.texi	Sat Feb 16 13:15:48 2002 +0000
@@ -640,6 +640,23 @@
 to scroll the window, but never farther to the right than the amount
 you previously set by @code{scroll-left}.
 
+@vindex automatic-hscroll-margin
+  The value of the variable @code{automatic-hscroll-margin} controls
+how close to the window's edges point is allowed to get before the
+window will be automatically scrolled.  It is measured in columns.
+
+@vindex automatic-hscroll-step
+  The variable @code{automatic-hscroll-step} determines how many
+columns to scroll the window when point gets too close to its edge.
+When point is closer to the window's edge than the number of columns
+given by @code{automatic-hscroll-margin}, automatic horizontal
+scrolling will scroll the window by the amount of columns determined
+by this variable.  If the value of @code{automatic-hscroll-step} is a
+positive integer, the window is scrolled that many columns.  If it's a
+floating-point number, it specifies the fraction of the window's width
+to scroll.  If it's zero, point will be centered horizontally after
+the scroll.  The default is zero.
+
 @vindex automatic-hscrolling
   To disable automatic horizontal scrolling, set the variable
 @code{automatic-hscrolling} to @code{nil}.