mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 13:27:36 +00:00
Explain more about jit-lock-mode calling conventions
* lisp/jit-lock.el (jit-lock-mode): Explicitly explain ARG (bug#55451).
This commit is contained in:
parent
6e61f9ec8a
commit
514cfbb267
1 changed files with 5 additions and 0 deletions
|
|
@ -217,6 +217,11 @@ If the system load rises above `jit-lock-stealth-load' percent, stealth
|
|||
fontification is suspended. Stealth fontification intensity is controlled via
|
||||
the variable `jit-lock-stealth-nice'.
|
||||
|
||||
`jit-lock-mode' is not a regular minor mode, and it doesn't
|
||||
follow the regular conventions to switch the functionality on or
|
||||
off. Instead, an ARG of nil will switch it off, and non-nil will
|
||||
switch it on.
|
||||
|
||||
If you need to debug code run from jit-lock, see `jit-lock-debug-mode'."
|
||||
(setq jit-lock-mode arg)
|
||||
(cond
|
||||
|
|
|
|||
Loading…
Reference in a new issue