diff options
| author | Eli Zaretskii | 2002-02-16 13:15:48 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2002-02-16 13:15:48 +0000 |
| commit | 04bee768c52fd90135280ffaf6e02329ecca1f30 (patch) | |
| tree | 8dfed80616a460c9b31ef01d3524db0461d3d9af | |
| parent | 73a276beb402865e66a06dd1f3873bda26e2f38f (diff) | |
| download | emacs-04bee768c52fd90135280ffaf6e02329ecca1f30.tar.gz emacs-04bee768c52fd90135280ffaf6e02329ecca1f30.zip | |
(Horizontal Scrolling): Document automatic-hscroll-margin and
automatic-hscroll-step.
| -rw-r--r-- | man/display.texi | 17 |
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 | |||
| 640 | to scroll the window, but never farther to the right than the amount | 640 | to scroll the window, but never farther to the right than the amount |
| 641 | you previously set by @code{scroll-left}. | 641 | you previously set by @code{scroll-left}. |
| 642 | 642 | ||
| 643 | @vindex automatic-hscroll-margin | ||
| 644 | The value of the variable @code{automatic-hscroll-margin} controls | ||
| 645 | how close to the window's edges point is allowed to get before the | ||
| 646 | window 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 | ||
| 650 | columns to scroll the window when point gets too close to its edge. | ||
| 651 | When point is closer to the window's edge than the number of columns | ||
| 652 | given by @code{automatic-hscroll-margin}, automatic horizontal | ||
| 653 | scrolling will scroll the window by the amount of columns determined | ||
| 654 | by this variable. If the value of @code{automatic-hscroll-step} is a | ||
| 655 | positive integer, the window is scrolled that many columns. If it's a | ||
| 656 | floating-point number, it specifies the fraction of the window's width | ||
| 657 | to scroll. If it's zero, point will be centered horizontally after | ||
| 658 | the 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}. |