aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2002-02-16 13:15:48 +0000
committerEli Zaretskii2002-02-16 13:15:48 +0000
commit04bee768c52fd90135280ffaf6e02329ecca1f30 (patch)
tree8dfed80616a460c9b31ef01d3524db0461d3d9af
parent73a276beb402865e66a06dd1f3873bda26e2f38f (diff)
downloademacs-04bee768c52fd90135280ffaf6e02329ecca1f30.tar.gz
emacs-04bee768c52fd90135280ffaf6e02329ecca1f30.zip
(Horizontal Scrolling): Document automatic-hscroll-margin and
automatic-hscroll-step.
-rw-r--r--man/display.texi17
1 files changed, 17 insertions, 0 deletions
diff --git a/man/display.texi b/man/display.texi
index 98238cc1f48..c1150c75100 100644
--- a/man/display.texi
+++ b/man/display.texi
@@ -640,6 +640,23 @@ for automatic horizontal scrolling. Automatic scrolling will continue
640to scroll the window, but never farther to the right than the amount 640to scroll the window, but never farther to the right than the amount
641you previously set by @code{scroll-left}. 641you previously set by @code{scroll-left}.
642 642
643@vindex automatic-hscroll-margin
644 The value of the variable @code{automatic-hscroll-margin} controls
645how close to the window's edges point is allowed to get before the
646window will be automatically scrolled. It is measured in columns.
647
648@vindex automatic-hscroll-step
649 The variable @code{automatic-hscroll-step} determines how many
650columns to scroll the window when point gets too close to its edge.
651When point is closer to the window's edge than the number of columns
652given by @code{automatic-hscroll-margin}, automatic horizontal
653scrolling will scroll the window by the amount of columns determined
654by this variable. If the value of @code{automatic-hscroll-step} is a
655positive integer, the window is scrolled that many columns. If it's a
656floating-point number, it specifies the fraction of the window's width
657to scroll. If it's zero, point will be centered horizontally after
658the scroll. The default is zero.
659
643@vindex automatic-hscrolling 660@vindex automatic-hscrolling
644 To disable automatic horizontal scrolling, set the variable 661 To disable automatic horizontal scrolling, set the variable
645@code{automatic-hscrolling} to @code{nil}. 662@code{automatic-hscrolling} to @code{nil}.