From: Eli Zaretskii Date: Sat, 27 Aug 2022 11:24:59 +0000 (+0300) Subject: ; * lisp/jit-lock.el (jit-lock-chunk-size): Doc fix. X-Git-Tag: emacs-28.2~25 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=72ae02377ebdc3105156be0e3dc0a9c53156599e;p=emacs.git ; * lisp/jit-lock.el (jit-lock-chunk-size): Doc fix. --- 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."