# HG changeset patch # User Eli Zaretskii # Date 1164980186 0 # Node ID 6d42e0eb1e0a644e682810b552ff0b44e4b464fd # Parent af9701aaa2d872040e8c8a94066325a6af7f535b Document the warning in lazy-lock. diff -r af9701aaa2d8 -r 6d42e0eb1e0a etc/NEWS --- 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: ---