comparison lisp/font-core.el @ 67304:b2083405b8a7

(font-lock-mode): Revert removing `:group font-lock'.
author Juri Linkov <juri@jurta.org>
date Sun, 04 Dec 2005 04:58:33 +0000
parents cf2274237464
children 0ec2c0df96f6
comparison
equal deleted inserted replaced
67303:7bd56e8182b2 67304:b2083405b8a7
144 buffer local value for `font-lock-defaults', via its mode hook. 144 buffer local value for `font-lock-defaults', via its mode hook.
145 145
146 The above is the default behavior of `font-lock-mode'; you may specify 146 The above is the default behavior of `font-lock-mode'; you may specify
147 your own function which is called when `font-lock-mode' is toggled via 147 your own function which is called when `font-lock-mode' is toggled via
148 `font-lock-function'. " 148 `font-lock-function'. "
149 :group 'font-lock
149 ;; Don't turn on Font Lock mode if we don't have a display (we're running a 150 ;; Don't turn on Font Lock mode if we don't have a display (we're running a
150 ;; batch job) or if the buffer is invisible (the name starts with a space). 151 ;; batch job) or if the buffer is invisible (the name starts with a space).
151 (when (or noninteractive (eq (aref (buffer-name) 0) ?\ )) 152 (when (or noninteractive (eq (aref (buffer-name) 0) ?\ ))
152 (setq font-lock-mode nil)) 153 (setq font-lock-mode nil))
153 (funcall font-lock-function font-lock-mode) 154 (funcall font-lock-function font-lock-mode)