diff options
| author | Dave Love | 1999-08-19 18:31:24 +0000 |
|---|---|---|
| committer | Dave Love | 1999-08-19 18:31:24 +0000 |
| commit | 443de9cd115b6eab5b3342c85ea7390ce4f41bbd (patch) | |
| tree | d2b4751fb0838c97b8bbd11740aa3f4b9ebd5e35 /lisp | |
| parent | 720712eb90e294312bda1003611386555b5833ec (diff) | |
| download | emacs-443de9cd115b6eab5b3342c85ea7390ce4f41bbd.tar.gz emacs-443de9cd115b6eab5b3342c85ea7390ce4f41bbd.zip | |
(global-font-lock-mode): Autoload. Add :initialize.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/font-lock.el | 2 |
1 files changed, 2 insertions, 0 deletions
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'." | |||
| 846 | ;; This variable was originally a `defvar' to keep track of | 846 | ;; This variable was originally a `defvar' to keep track of |
| 847 | ;; whether Global Font Lock mode was turned on or not. As a `defcustom' with | 847 | ;; whether Global Font Lock mode was turned on or not. As a `defcustom' with |
| 848 | ;; special `:set' and `:require' forms, we can provide custom mode control. | 848 | ;; special `:set' and `:require' forms, we can provide custom mode control. |
| 849 | ;;;###autoload | ||
| 849 | (defcustom global-font-lock-mode nil | 850 | (defcustom global-font-lock-mode nil |
| 850 | "Toggle Global Font Lock mode. | 851 | "Toggle Global Font Lock mode. |
| 851 | When Global Font Lock mode is enabled, Font Lock mode is automagically | 852 | When Global Font Lock mode is enabled, Font Lock mode is automagically |
| @@ -854,6 +855,7 @@ Setting this variable directly does not take effect; | |||
| 854 | use either \\[customize] or the function `global-font-lock-mode'." | 855 | use either \\[customize] or the function `global-font-lock-mode'." |
| 855 | :set (lambda (symbol value) | 856 | :set (lambda (symbol value) |
| 856 | (global-font-lock-mode (or value 0))) | 857 | (global-font-lock-mode (or value 0))) |
| 858 | :initialize 'custom-initialize-default | ||
| 857 | :type 'boolean | 859 | :type 'boolean |
| 858 | :group 'font-lock | 860 | :group 'font-lock |
| 859 | :require 'font-lock) | 861 | :require 'font-lock) |