diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-08-27 14:24:59 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-08-27 14:24:59 +0300 |
commit | 72ae02377ebdc3105156be0e3dc0a9c53156599e (patch) | |
tree | e2cc75cbcf47f336b71264b56b1cf2a46874abc9 | |
parent | 3fb69fad492dd40279cf29c4d417cc86a8018cc7 (diff) | |
download | emacs-72ae02377ebdc3105156be0e3dc0a9c53156599e.tar.gz |
; * lisp/jit-lock.el (jit-lock-chunk-size): Doc fix.
-rw-r--r-- | lisp/jit-lock.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/jit-lock.el b/lisp/jit-lock.el index 20c12024745..6884313d1ba 100644 --- a/lisp/jit-lock.el +++ b/lisp/jit-lock.el @@ -45,9 +45,12 @@ Preserves the `buffer-modified-p' state of the current buffer." :group 'font-lock) (defcustom jit-lock-chunk-size 1500 - "Jit-lock fontifies chunks of at most this many characters at a time. + "Jit-lock asks to fontify chunks of at most this many characters at a time. -This variable controls both `display-time' and stealth fontification. +The actual size of the fontified chunk of text can be different, +depending on what the `fontification-functions' actually decide to do. + +This variable controls both display-time and stealth fontifications. The optimum value is a little over the typical number of buffer characters which fit in a typical window." |