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

Lines Matching +defs:font +defs:lock

103 ;; font-lock.
104 (cc-bytecomp-defvar font-lock-defaults)
105 (cc-bytecomp-defvar font-lock-syntactic-keywords)
116 ;; Load cc-fonts first after font-lock is loaded, since it isn't
117 ;; necessary until font locking is requested.
118 ; (eval-after-load "font-lock" ; 2006-07-09: font-lock is now preloaded.
149 ;; `c-font-lock-init' too to set up CC Mode's font lock support.
413 ;; can cause font lock functions to run in inconvenient places during
414 ;; temporary changes in some font lock support modes, causing extra
415 ;; unnecessary work and font lock glitches due to interactions between
485 ;; also that it only has any effect when font locking is enabled.
486 ;; We exploit this by checking for font-lock-*-face instead of doing
514 (or (and (eq (get-text-property end 'face) 'font-lock-comment-face)
523 '(font-lock-comment-face font-lock-string-face))))
560 ;; font-lock callbacks since we might get calls to functions using
723 (defun c-after-font-lock-init ()
724 ;; Put on `font-lock-mode-hook'.
728 (defun c-font-lock-init ()
729 "Set up the font-lock variables for using the font-lock support in CC Mode.
730 This does not load the font-lock package. Use after
733 (make-local-variable 'font-lock-defaults)
734 (setq font-lock-defaults
736 ;; awk-mode currently has only one font lock level.
737 'awk-font-lock-keywords
739 '("font-lock-keywords" "font-lock-keywords-1"
740 "font-lock-keywords-2" "font-lock-keywords-3")))
744 (font-lock-lines-before . 1)
745 (font-lock-mark-block-function
748 (make-local-hook 'font-lock-mode-hook)
749 (add-hook 'font-lock-mode-hook 'c-after-font-lock-init nil t))
753 (when (and (featurep 'font-lock)
754 (symbol-value 'font-lock-mode))
755 ;; Force font lock mode to reinitialize itself.
756 (font-lock-mode 0)
757 (font-lock-mode 1)))
762 `c-font-lock-init', this function sets up various other things as
777 ;; Only initialize font locking if we aren't called from an old package.
778 (c-font-lock-init))
1355 ;; The rest of CC Mode does not (yet) use `font-lock-syntactic-keywords',
1356 ;; so it's not set by `c-font-lock-init'.
1357 (make-local-variable 'font-lock-syntactic-keywords)
1358 (setq font-lock-syntactic-keywords
1453 font-lock-mode
1454 font-lock-maximum-decoration