diff options
| author | Noam Postavsky | 2018-01-29 18:49:46 -0500 |
|---|---|---|
| committer | Noam Postavsky | 2018-01-30 22:29:13 -0500 |
| commit | db6564cde0a9001311c38600d61f503e9d32bf0b (patch) | |
| tree | fafd451063dd0b24b4e9d16be2798844662576a6 /src | |
| parent | 732d1b9383a9381896df12a2762991c3ed68b025 (diff) | |
| download | emacs-db6564cde0a9001311c38600d61f503e9d32bf0b.tar.gz emacs-db6564cde0a9001311c38600d61f503e9d32bf0b.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 903815c6581..7511e54ab1d 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. */); | |||
| 32527 | 32527 | ||
| 32528 | DEFVAR_INT ("scroll-margin", scroll_margin, | 32528 | DEFVAR_INT ("scroll-margin", scroll_margin, |
| 32529 | doc: /* Number of lines of margin at the top and bottom of a window. | 32529 | doc: /* Number of lines of margin at the top and bottom of a window. |
| 32530 | Recenter the window whenever point gets within this many lines | 32530 | Trigger automatic scrolling whenever point gets within this many lines |
| 32531 | of the top or bottom of the window. */); | 32531 | of the top or bottom of the window (see info node `Auto Scrolling'). */); |
| 32532 | scroll_margin = 0; | 32532 | scroll_margin = 0; |
| 32533 | 32533 | ||
| 32534 | DEFVAR_LISP ("maximum-scroll-margin", Vmaximum_scroll_margin, | 32534 | DEFVAR_LISP ("maximum-scroll-margin", Vmaximum_scroll_margin, |