Mercurial > emacs
changeset 66722:886334b58815
(global-font-lock-mode): Enable `global-font-lock-mode' by default,
except in batch mode or when the -D command line option is given.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Sat, 05 Nov 2005 23:07:40 +0000 |
parents | 67170e911864 |
children | a4c04d1213c4 |
files | lisp/font-core.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/font-core.el Sat Nov 05 23:03:57 2005 +0000 +++ b/lisp/font-core.el Sat Nov 05 23:07:40 2005 +0000 @@ -293,7 +293,9 @@ (easy-mmode-define-global-mode global-font-lock-mode font-lock-mode turn-on-font-lock-if-enabled - :extra-args (dummy)) + :extra-args (dummy) + :initialize 'custom-initialize-safe-default + :init-value (not (or noninteractive emacs-basic-display))) ;;; End of Global Font Lock mode.