Variable: redisplay-skip-fontification-on-input

redisplay-skip-fontification-on-input is a variable defined in xdisp.c.

Value

nil

Documentation

Skip `fontification_functions` when there is input pending.

If non-nil and there was input pending at the beginning of the command, the `fontification_functions` hook is not run. 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. It is similar to fast-but-imprecise-scrolling with similar tradeoffs, but with the advantage that it should only affect the behavior when Emacs has trouble keeping up with the incoming input rate.

View in manual

Probably introduced at or before Emacs version 28.1.

Source Code

// Defined in /usr/src/emacs/src/xdisp.c
  DEFVAR_BOOL ("redisplay-skip-fontification-on-input",
               redisplay_skip_fontification_on_input,
    doc: /* Skip `fontification_functions` when there is input pending.
If non-nil and there was input pending at the beginning of the command,
the `fontification_functions` hook is not run.  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.
It is similar to `fast-but-imprecise-scrolling' with similar tradeoffs,
but with the advantage that it should only affect the behavior when Emacs
has trouble keeping up with the incoming input rate.  */);