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.
This commit is contained in:
Noam Postavsky 2018-01-29 18:49:46 -05:00
parent 732d1b9383
commit db6564cde0

View file

@ -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,