# HG changeset patch # User Dave Love # Date 925239302 0 # Node ID 93b7e7e88a807de5f3bb8e48988764bff36a82a9 # Parent 885873f5d65bf258d650236aed9d2eda73812aa9 (global-font-lock-mode): Doc fix. diff -r 885873f5d65b -r 93b7e7e88a80 lisp/font-lock.el --- a/lisp/font-lock.el Tue Apr 27 18:52:49 1999 +0000 +++ b/lisp/font-lock.el Tue Apr 27 18:55:02 1999 +0000 @@ -835,15 +835,15 @@ (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