aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2017-05-31 19:15:40 +0300
committerEli Zaretskii2017-05-31 19:15:40 +0300
commit76712f0febc5403eea38fe73cff199e9e6aba310 (patch)
treed7b72dba59a496d685341fb82a2063cabc0f679b
parent140ddc321be96c03ef234a12c56cef97a078fc07 (diff)
downloademacs-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.texi7
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
4249bound for automatic scrolling, i.e., automatic scrolling will not 4249bound for automatic scrolling, i.e., automatic scrolling will not
4250scroll a window to a column less than the specified one. 4250scroll 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
4253it to @code{current-line} activates a variant of automatic horizontal
4254scrolling whereby only the line showing the cursor is horizontally
4255scrolled to make point visible, the rest of the window is left either
4256unscrolled, or at the minimum scroll amount set by @code{scroll-left}
4257and @code{scroll-right}, see below.
4258
4252@deffn Command scroll-left &optional count set-minimum 4259@deffn Command scroll-left &optional count set-minimum
4253This function scrolls the selected window @var{count} columns to the 4260This function scrolls the selected window @var{count} columns to the
4254left (or to the right if @var{count} is negative). The default 4261left (or to the right if @var{count} is negative). The default