148 |
The above is the default behavior of `font-lock-mode'; you may specify |
The above is the default behavior of `font-lock-mode'; you may specify |
149 |
your own function which is called when `font-lock-mode' is toggled via |
your own function which is called when `font-lock-mode' is toggled via |
150 |
`font-lock-function'. " |
`font-lock-function'. " |
151 |
nil nil nil |
:group 'font-lock |
152 |
;; Don't turn on Font Lock mode if we don't have a display (we're running a |
;; Don't turn on Font Lock mode if we don't have a display (we're running a |
153 |
;; batch job) or if the buffer is invisible (the name starts with a space). |
;; batch job) or if the buffer is invisible (the name starts with a space). |
154 |
(when (or noninteractive (eq (aref (buffer-name) 0) ?\ )) |
(when (or noninteractive (eq (aref (buffer-name) 0) ?\ )) |