From a775a63e073631a2b99e897af6f56c394eb9e18d Mon Sep 17 00:00:00 2001 From: Dave Love Date: Tue, 27 Apr 1999 18:55:02 +0000 Subject: [PATCH] (global-font-lock-mode): Doc fix. --- lisp/font-lock.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 48c69183ee1..d3498a888a5 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -835,15 +835,15 @@ turned on in a buffer if its major mode is one of `font-lock-global-modes'." (message "Global Font Lock mode %s." (if on-p "enabled" "disabled"))) (setq global-font-lock-mode on-p))) -;; Naughty hack. This variable was originally a `defvar' to keep track of +;; This variable was originally a `defvar' to keep track of ;; whether Global Font Lock mode was turned on or not. As a `defcustom' with ;; special `:set' and `:require' forms, we can provide custom mode control. (defcustom global-font-lock-mode nil "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'. -This variable should be set only with \\[customize], which is equivalent -to using the function `global-font-lock-mode'." +Setting this variable directly does not take effect; +use either \\[customize] or the function `global-font-lock-mode'." :set (lambda (symbol value) (global-font-lock-mode (or value 0))) :type 'boolean -- 2.39.2