]> git.eshelyaron.com Git - emacs.git/commitdiff
Document the warning in lazy-lock.
authorEli Zaretskii <eliz@gnu.org>
Fri, 1 Dec 2006 13:36:26 +0000 (13:36 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 1 Dec 2006 13:36:26 +0000 (13:36 +0000)
etc/NEWS

index dfea3a342d003e5f88174affd3cd679da8e1e9f0..6d740c37d9d71f894f4217cc908b74457bd6659a 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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:
 
 ---