summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-08-27 14:24:59 +0300
committerEli Zaretskii <eliz@gnu.org>2022-08-27 14:24:59 +0300
commit72ae02377ebdc3105156be0e3dc0a9c53156599e (patch)
treee2cc75cbcf47f336b71264b56b1cf2a46874abc9
parent3fb69fad492dd40279cf29c4d417cc86a8018cc7 (diff)
downloademacs-72ae02377ebdc3105156be0e3dc0a9c53156599e.tar.gz
; * lisp/jit-lock.el (jit-lock-chunk-size): Doc fix.
-rw-r--r--lisp/jit-lock.el7
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."