diff options
| author | Eli Zaretskii | 2017-05-31 19:15:40 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-05-31 19:15:40 +0300 |
| commit | 76712f0febc5403eea38fe73cff199e9e6aba310 (patch) | |
| tree | d7b72dba59a496d685341fb82a2063cabc0f679b | |
| parent | 140ddc321be96c03ef234a12c56cef97a078fc07 (diff) | |
| download | emacs-76712f0febc5403eea38fe73cff199e9e6aba310.tar.gz emacs-76712f0febc5403eea38fe73cff199e9e6aba310.zip | |
Document current-line hscrolling in ELisp manual
* doc/lispref/windows.texi (Horizontal Scrolling): Document the
new mode of auto-hscrolling only the current line.
| -rw-r--r-- | doc/lispref/windows.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 3a9257e05af..d9b4b743a3b 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -4249,6 +4249,13 @@ scrolling value explicitly. The value you specify serves as a lower | |||
| 4249 | bound for automatic scrolling, i.e., automatic scrolling will not | 4249 | bound for automatic scrolling, i.e., automatic scrolling will not |
| 4250 | scroll a window to a column less than the specified one. | 4250 | scroll a window to a column less than the specified one. |
| 4251 | 4251 | ||
| 4252 | The default value of @code{auto-hscroll-mode} is @code{t}; setting | ||
| 4253 | it to @code{current-line} activates a variant of automatic horizontal | ||
| 4254 | scrolling whereby only the line showing the cursor is horizontally | ||
| 4255 | scrolled to make point visible, the rest of the window is left either | ||
| 4256 | unscrolled, or at the minimum scroll amount set by @code{scroll-left} | ||
| 4257 | and @code{scroll-right}, see below. | ||
| 4258 | |||
| 4252 | @deffn Command scroll-left &optional count set-minimum | 4259 | @deffn Command scroll-left &optional count set-minimum |
| 4253 | This function scrolls the selected window @var{count} columns to the | 4260 | This function scrolls the selected window @var{count} columns to the |
| 4254 | left (or to the right if @var{count} is negative). The default | 4261 | left (or to the right if @var{count} is negative). The default |