From 72ae02377ebdc3105156be0e3dc0a9c53156599e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 27 Aug 2022 14:24:59 +0300 Subject: [PATCH] ; * lisp/jit-lock.el (jit-lock-chunk-size): Doc fix. --- lisp/jit-lock.el | 7 +++++-- 1 file 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." -- 2.39.2