Lines Matching +defs:font +defs:lock
166 (require 'font-lock) ; need to do this before referring to font-lock-* below
168 (defconst csh-font-lock-keywords
173 '("^#.*" 0 font-lock-comment-face)
176 '("^\\s *\\([^!#$\n ]+\\):" 1 font-lock-function-name-face)
180 2 font-lock-function-name-face)
184 2 font-lock-variable-name-face)
187 '("\\$[][0-9A-Za-z_#:?]+" 0 font-lock-variable-name-face)
190 '("`\\(.*\\)`" 1 font-lock-reference-face keep)
199 1 font-lock-variable-name-face t) ; 1
201 1 font-lock-variable-name-face t) ; 2
204 (list 1 font-lock-variable-name-face t)) ; 3
207 '("^![^~= \n\t]+" 0 font-lock-reference-face t) ; BOL
208 '("^[^#\n]*[^#\\\n]\\(![^~= \n\t]+\\)" 1 font-lock-reference-face t) ; 1
210 1 font-lock-reference-face t) ; 2
220 (put 'csh-mode 'font-lock-keywords 'csh-font-lock-keywords)
722 (font-lock-mode 1) ;; font-lock the buffer
748 ;; config font-lock mode
749 (make-local-variable 'font-lock-keywords)
750 (setq font-lock-keywords csh-font-lock-keywords)