aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorNoam Postavsky2016-09-11 11:09:57 -0400
committerNoam Postavsky2017-02-02 21:20:29 -0500
commite27a91cddc1a66c25e09d3929c5625637ec34a49 (patch)
tree00096f2a38822f4c63ba228e769fb02c1c966b54 /etc
parentc92fc7a2156a5939439b7236452d4dfcfc13cc89 (diff)
downloademacs-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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index ddd40fa8535..617f39f9b4c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
308substituted by a home directory by writing it as "/foo:/:/~/file". 308substituted by a home directory by writing it as "/foo:/:/~/file".
309 309
310+++
311** The new variable 'maximum-scroll-margin' allows having effective
312settings of 'scroll-margin' up to half the window size, instead of
313always 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