• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/emacs-92/emacs/lisp/

Lines Matching defs:on

97 Lock on.
110 You can enable Font Lock mode in any major mode automatically by turning on in
113 (add-hook 'c-mode-hook 'turn-on-font-lock)
115 Alternatively, you can use Global Font Lock mode to automagically turn on Font
123 generally prefer. When you turn Font Lock mode on/off the buffer is
131 To fontify a buffer, without turning on Font Lock mode and regardless of buffer
135 lines around point), perhaps because modification on the current line caused
136 syntactic change on other lines, you can use \\[font-lock-fontify-block].
146 ;; Don't turn on Font Lock mode if we don't have a display (we're running a
177 ;; Turn on Font Lock mode.
212 (defun turn-on-font-lock ()
213 "Turn on Font Lock mode (only if the terminal can display it)."
219 ;; A few people have hassled in the past for a way to make it easier to turn on
221 ;; turn it on, perhaps the same way hilit19.el/hl319.el does. I've always
232 ;; functions on the hook variable `change-major-mode-hook'. We attach our
237 ;; `turn-on-font-lock-if-enabled' to the hook variables
240 ;; the functions on the first of these hooks to be run are run, the new major
242 ;; when a major mode is turned on, without knowing major modes or their hooks.
260 ;; mechanisms for turning on Font Lock mode, such as M-x font-lock-mode RET or
261 ;; (add-hook 'c-mode-hook 'turn-on-font-lock), would cause Font Lock mode to be
262 ;; turned on everywhere. That would not be intuitive or informative because
267 "*Modes for which Font Lock mode is automagically turned on.
269 If nil, means no modes have Font Lock mode automatically turned on.
270 If t, all modes that support Font Lock mode have it automatically turned on.
272 mode should be automatically turned on. The sense of the list is negated if it
275 means that Font Lock mode is turned on for buffers in C and C++ modes only."
284 (defun turn-on-font-lock-if-enabled ()
288 (turn-on-font-lock))))
291 font-lock-mode turn-on-font-lock-if-enabled