Mercurial > emacs
changeset 24641:93b7e7e88a80
(global-font-lock-mode): Doc fix.
author | Dave Love <fx@gnu.org> |
---|---|
date | Tue, 27 Apr 1999 18:55:02 +0000 |
parents | 885873f5d65b |
children | 27387f2d010c |
files | lisp/font-lock.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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