diff options
| author | Noam Postavsky | 2016-09-11 11:09:57 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2017-02-02 21:20:29 -0500 |
| commit | e27a91cddc1a66c25e09d3929c5625637ec34a49 (patch) | |
| tree | 00096f2a38822f4c63ba228e769fb02c1c966b54 /etc | |
| parent | c92fc7a2156a5939439b7236452d4dfcfc13cc89 (diff) | |
| download | emacs-e27a91cddc1a66c25e09d3929c5625637ec34a49.tar.gz emacs-e27a91cddc1a66c25e09d3929c5625637ec34a49.zip | |
Make limit on scroll-margin variable
* src/xdisp.c (maximum-scroll-margin): New variable.
* lisp/cus-start.el: Make it customizable.
* etc/NEWS: Mention it.
* doc/emacs/display.texi (Auto Scrolling):
* doc/lispref/windows.texi (Textual Scrolling): Document it.
* src/window.c (window_scroll_pixel_based): Use it instead of hardcoding
division by 4 (Bug #5718).
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -307,6 +307,11 @@ local part of a remote file name. Thus, if you have a directory named | |||
| 307 | "/~" on the remote host "foo", you can prevent it from being | 307 | "/~" on the remote host "foo", you can prevent it from being |
| 308 | substituted by a home directory by writing it as "/foo:/:/~/file". | 308 | substituted by a home directory by writing it as "/foo:/:/~/file". |
| 309 | 309 | ||
| 310 | +++ | ||
| 311 | ** The new variable 'maximum-scroll-margin' allows having effective | ||
| 312 | settings of 'scroll-margin' up to half the window size, instead of | ||
| 313 | always restricting the margin to a quarter of the window. | ||
| 314 | |||
| 310 | 315 | ||
| 311 | * Editing Changes in Emacs 26.1 | 316 | * Editing Changes in Emacs 26.1 |
| 312 | 317 | ||