From 24789c69cd1ca486ff4d24b927950629b37511d8 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 30 Mar 1999 21:28:05 +0000 Subject: [PATCH] (global-font-lock-mode): Doc fix. --- lisp/font-lock.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 0bfb213fa07..28815a7d0f5 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -842,7 +842,8 @@ turned on in a buffer if its major mode is one of `font-lock-global-modes'." "Toggle Global Font Lock mode. When Global Font Lock mode is enabled, Font Lock mode is automagically turned on in a buffer if its major mode is one of `font-lock-global-modes'. -You must modify via \\[customize] for this variable to have an effect." +This variable should be set only with \\[customize], which is equivalent +to using the function `global-font-lock-mode'. :set (lambda (symbol value) (global-font-lock-mode (or value 0))) :type 'boolean -- 2.39.2