diff options
| author | Luc Teirlinck | 2005-11-05 23:07:40 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-11-05 23:07:40 +0000 |
| commit | 00fe0acef433d60dfe8a05e72d551dc662b47b33 (patch) | |
| tree | e790aa144926f5f963d813bc68d22d383fd6feca | |
| parent | 0ceed14b2e38e1de08823efb6737b9af1ce4268f (diff) | |
| download | emacs-00fe0acef433d60dfe8a05e72d551dc662b47b33.tar.gz emacs-00fe0acef433d60dfe8a05e72d551dc662b47b33.zip | |
(global-font-lock-mode): Enable `global-font-lock-mode' by default,
except in batch mode or when the -D command line option is given.
| -rw-r--r-- | lisp/font-core.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/font-core.el b/lisp/font-core.el index 27212f9fc68..22311fd1e74 100644 --- a/lisp/font-core.el +++ b/lisp/font-core.el | |||
| @@ -293,7 +293,9 @@ means that Font Lock mode is turned on for buffers in C and C++ modes only." | |||
| 293 | 293 | ||
| 294 | (easy-mmode-define-global-mode | 294 | (easy-mmode-define-global-mode |
| 295 | global-font-lock-mode font-lock-mode turn-on-font-lock-if-enabled | 295 | global-font-lock-mode font-lock-mode turn-on-font-lock-if-enabled |
| 296 | :extra-args (dummy)) | 296 | :extra-args (dummy) |
| 297 | :initialize 'custom-initialize-safe-default | ||
| 298 | :init-value (not (or noninteractive emacs-basic-display))) | ||
| 297 | 299 | ||
| 298 | ;;; End of Global Font Lock mode. | 300 | ;;; End of Global Font Lock mode. |
| 299 | 301 | ||