[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 76712f0: Document current-line hscrolling in ELisp
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master 76712f0: Document current-line hscrolling in ELisp manual |
Date: |
Wed, 31 May 2017 12:16:30 -0400 (EDT) |
branch: master
commit 76712f0febc5403eea38fe73cff199e9e6aba310
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Document current-line hscrolling in ELisp manual
* doc/lispref/windows.texi (Horizontal Scrolling): Document the
new mode of auto-hscrolling only the current line.
---
doc/lispref/windows.texi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 3a9257e..d9b4b74 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
bound for automatic scrolling, i.e., automatic scrolling will not
scroll a window to a column less than the specified one.
+ The default value of @code{auto-hscroll-mode} is @code{t}; setting
+it to @code{current-line} activates a variant of automatic horizontal
+scrolling whereby only the line showing the cursor is horizontally
+scrolled to make point visible, the rest of the window is left either
+unscrolled, or at the minimum scroll amount set by @code{scroll-left}
+and @code{scroll-right}, see below.
+
@deffn Command scroll-left &optional count set-minimum
This function scrolls the selected window @var{count} columns to the
left (or to the right if @var{count} is negative). The default
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 76712f0: Document current-line hscrolling in ELisp manual,
Eli Zaretskii <=