From 055596daa6e33ecb2e7144a354e5626d4e8d3af7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 1 Dec 2006 13:36:26 +0000 Subject: [PATCH] Document the warning in lazy-lock. --- etc/NEWS | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index dfea3a342d0..6d740c37d9d 100644 --- 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: --- -- 2.39.2