diff options
| author | Dave Love | 1999-04-27 18:55:02 +0000 |
|---|---|---|
| committer | Dave Love | 1999-04-27 18:55:02 +0000 |
| commit | a775a63e073631a2b99e897af6f56c394eb9e18d (patch) | |
| tree | b889be69eda6254b5f6881f1b510a8973734285b | |
| parent | 735cb9a35e9b051df64ed86336093c227cce75f0 (diff) | |
| download | emacs-a775a63e073631a2b99e897af6f56c394eb9e18d.tar.gz emacs-a775a63e073631a2b99e897af6f56c394eb9e18d.zip | |
(global-font-lock-mode): Doc fix.
| -rw-r--r-- | lisp/font-lock.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 48c69183ee1..d3498a888a5 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -835,15 +835,15 @@ turned on in a buffer if its major mode is one of `font-lock-global-modes'." | |||
| 835 | (message "Global Font Lock mode %s." (if on-p "enabled" "disabled"))) | 835 | (message "Global Font Lock mode %s." (if on-p "enabled" "disabled"))) |
| 836 | (setq global-font-lock-mode on-p))) | 836 | (setq global-font-lock-mode on-p))) |
| 837 | 837 | ||
| 838 | ;; Naughty hack. This variable was originally a `defvar' to keep track of | 838 | ;; This variable was originally a `defvar' to keep track of |
| 839 | ;; whether Global Font Lock mode was turned on or not. As a `defcustom' with | 839 | ;; whether Global Font Lock mode was turned on or not. As a `defcustom' with |
| 840 | ;; special `:set' and `:require' forms, we can provide custom mode control. | 840 | ;; special `:set' and `:require' forms, we can provide custom mode control. |
| 841 | (defcustom global-font-lock-mode nil | 841 | (defcustom global-font-lock-mode nil |
| 842 | "Toggle Global Font Lock mode. | 842 | "Toggle Global Font Lock mode. |
| 843 | When Global Font Lock mode is enabled, Font Lock mode is automagically | 843 | When Global Font Lock mode is enabled, Font Lock mode is automagically |
| 844 | turned on in a buffer if its major mode is one of `font-lock-global-modes'. | 844 | turned on in a buffer if its major mode is one of `font-lock-global-modes'. |
| 845 | This variable should be set only with \\[customize], which is equivalent | 845 | Setting this variable directly does not take effect; |
| 846 | to using the function `global-font-lock-mode'." | 846 | use either \\[customize] or the function `global-font-lock-mode'." |
| 847 | :set (lambda (symbol value) | 847 | :set (lambda (symbol value) |
| 848 | (global-font-lock-mode (or value 0))) | 848 | (global-font-lock-mode (or value 0))) |
| 849 | :type 'boolean | 849 | :type 'boolean |