changeset 25331:d0672c9ba98a

(global-font-lock-mode): Autoload. Add :initialize.
author Dave Love <fx@gnu.org>
date Thu, 19 Aug 1999 18:31:24 +0000
parents 6ac0cc90d397
children c09e05be2f4b
files lisp/font-lock.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/font-lock.el	Thu Aug 19 17:50:02 1999 +0000
+++ b/lisp/font-lock.el	Thu Aug 19 18:31:24 1999 +0000
@@ -846,6 +846,7 @@
 ;; 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 @@
 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)