summaryrefslogtreecommitdiff
path: root/lisp/jit-lock.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-09-01 06:17:37 +0200
committerStefan Kangas <stefankangas@gmail.com>2022-09-01 06:17:37 +0200
commit0bd860cc2e94e3f5178000e929af93863b9ae458 (patch)
treeb5fca009a2b76625bf021ac69438fc3943cd47de /lisp/jit-lock.el
parente8085b1596b07543caadee1e4fa4f9061fbf3d8b (diff)
parent8807a4f53204674a796cb2db73716e09736b548e (diff)
downloademacs-0bd860cc2e94e3f5178000e929af93863b9ae458.tar.gz
emacs-0bd860cc2e94e3f5178000e929af93863b9ae458.tar.bz2
emacs-0bd860cc2e94e3f5178000e929af93863b9ae458.zip
Merge from origin/emacs-28
8807a4f532 Enable 256 colors in fbterm. bbc23ca8ab One more fix for find-file.el 0cbcaf5119 ; Yet another doc fix for 'ff-other-file-alist' (bug#57325) 2d9a391727 Recommend using fbterm in the Linux console. a5a92e577c ; * src/window.c (syms_of_window) <window-point-insertion-... 4d52fe6b96 * lisp/find-file.el (ff-other-file-alist): Doc fix. (Bug#... d111b5b651 * lisp/info.el (Info-mode): Support the Linux console better. cc945ec0ed ; Fix doc strings in latin1-disp.el 195fcc932e Improve the documentation of glyphless-character display 72ae02377e ; * lisp/jit-lock.el (jit-lock-chunk-size): Doc fix. 3fb69fad49 Fix documentation of 'glyphless-char-display' # Conflicts: # lisp/international/characters.el # src/xdisp.c
Diffstat (limited to 'lisp/jit-lock.el')
-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 be26ca55f0d..9543253cf24 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."