Commit 055596da authored by Eli Zaretskii's avatar Eli Zaretskii

Document the warning in lazy-lock.

parent 107fae8b
......@@ -1034,6 +1034,21 @@ jit-lock-defer-contextually is renamed jit-lock-contextually and
jit-lock-context-time determines the delay after which contextual
refontification takes place.
*** lazy-lock is considered obsolete.
The `lazy-lock' package is superseded by `jit-lock' and is considered
obsolete. `jit-lock' is activated by default; if you wish to continue
using `lazy-lock', activate it in your ~/.emacs like this:
(setq font-lock-support-mode 'lazy-lock-mode)
If you invoke `lazy-lock-mode' directly rather than through
`font-lock-support-mode', it now issues a warning:
"Use font-lock-support-mode rather than calling lazy-lock-mode"
** Menu support:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment