Variable: sgml-font-lock-keywords

sgml-font-lock-keywords is a variable defined in sgml-mode.el.gz.

Value

(("<\\([!?][_:[:alpha:]][-_.:[:alnum:]]*\\)" 1 'font-lock-keyword-face)
 ("</?\\([_[:alpha:]][-_.[:alnum:]]*\\)\\(?::\\([_:[:alpha:]][-_.:[:alnum:]]*\\)\\)?"
  (1 (if (match-end 2) 'sgml-namespace 'font-lock-function-name-face))
  (2 'font-lock-function-name-face nil t))
 ("\\(?:^\\|[   ]\\)\\([_[:alpha:]][-_.[:alnum:]]*\\)\\(?::\\([_:[:alpha:]][-_.:[:alnum:]]*\\)\\)?=[\"']"
  (1 (if (match-end 2) 'sgml-namespace 'font-lock-variable-name-face))
  (2 font-lock-variable-name-face nil t))
 ("[&%][_:[:alpha:]][-_.:[:alnum:]]*;?" 0
  'font-lock-variable-name-face))

Documentation

Rules for highlighting SGML code. See also sgml-tag-face-alist.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/sgml-mode.el.gz
;; for font-lock, but must be defvar'ed after
;; sgml-font-lock-keywords-1 and sgml-font-lock-keywords-2 above
(defvar sgml-font-lock-keywords sgml-font-lock-keywords-1
  "Rules for highlighting SGML code.  See also `sgml-tag-face-alist'.")