changeset 74355:6d42e0eb1e0a

Document the warning in lazy-lock.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 01 Dec 2006 13:36:26 +0000
parents af9701aaa2d8
children 25c9571827a2
files etc/NEWS
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Fri Dec 01 13:23:01 2006 +0000
+++ b/etc/NEWS	Fri Dec 01 13:36:26 2006 +0000
@@ -1034,6 +1034,21 @@
 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:
 
 ---