Document redisplay-skip-fontification-on-input

* doc/emacs/display.texi (Scrolling): Mention
redisplay-skip-fontification-on-input.
This commit is contained in:
Lars Ingebrigtsen 2021-09-25 07:22:07 +02:00
parent e971e0868d
commit 1ea434b191
2 changed files with 9 additions and 0 deletions

View file

@ -150,6 +150,14 @@ gives you less jerky scrolling when you hold down @kbd{C-v}, but the
window contents after any action which scrolls into a fresh portion of
the buffer will be momentarily unfontified.
@vindex redisplay-skip-fontification-on-input
Finally, a third alternative to these variables is
@code{redisplay-skip-fontification-on-input}. If this variable is
non-@code{nil}, skip some fontifications is there's input pending.
This usually does not affect the display because redisplay is
completely skipped anyway if input was pending, but it can make
scrolling smoother by avoiding unnecessary fontification.
@vindex scroll-up
@vindex scroll-down
@findex scroll-up-line

View file

@ -745,6 +745,7 @@ Applies to headings of shortdoc sections.
*** New face 'separator-line'.
This is used by 'make-separator-line' (see below).
+++
*** 'redisplay-skip-fontification-on-input' helps Emacs keep up with fast input.
This is another attempt to solve the problem of handling high key repeat rate
and other "slow scrolling" situations. It is hoped it behaves better