emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 db6564c 7/8: Fix scroll-margin docstring (Bug#137


From: Noam Postavsky
Subject: [Emacs-diffs] emacs-26 db6564c 7/8: Fix scroll-margin docstring (Bug#13791)
Date: Tue, 30 Jan 2018 22:35:03 -0500 (EST)

branch: emacs-26
commit db6564cde0a9001311c38600d61f503e9d32bf0b
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Fix scroll-margin docstring (Bug#13791)
    
    * src/xdisp.c (syms_of_xdisp) <scroll-margin>: Explain that entering
    the margin may trigger any sort of auto scrolling, not recentering
    specifically.
---
 src/xdisp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index 903815c..7511e54 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -32527,8 +32527,8 @@ A value of zero means always recenter point if it moves 
off screen.  */);
 
   DEFVAR_INT ("scroll-margin", scroll_margin,
     doc: /* Number of lines of margin at the top and bottom of a window.
-Recenter the window whenever point gets within this many lines
-of the top or bottom of the window.  */);
+Trigger automatic scrolling whenever point gets within this many lines
+of the top or bottom of the window (see info node `Auto Scrolling').  */);
   scroll_margin = 0;
 
   DEFVAR_LISP ("maximum-scroll-margin", Vmaximum_scroll_margin,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]