From: Dave Love Date: Thu, 19 Aug 1999 18:31:24 +0000 (+0000) Subject: (global-font-lock-mode): Autoload. Add :initialize. X-Git-Tag: emacs-pretest-21.0.90~7110 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=443de9cd115b6eab5b3342c85ea7390ce4f41bbd;p=emacs.git (global-font-lock-mode): Autoload. Add :initialize. --- diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 0bc70ea2809..bfc4a1460c6 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -846,6 +846,7 @@ turned on in a buffer if its major mode is one of `font-lock-global-modes'." ;; 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. +;;;###autoload (defcustom global-font-lock-mode nil "Toggle Global Font Lock mode. When Global Font Lock mode is enabled, Font Lock mode is automagically @@ -854,6 +855,7 @@ 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))) + :initialize 'custom-initialize-default :type 'boolean :group 'font-lock :require 'font-lock)