Mercurial > hg > xemacs
view shared/sgml-font-lock-keywords.el @ 44:b09e8120dc53
copied in from lucid, moved use-text-not-html support to my-news,
still has a lot of diary-related stuff which is _currently_ only relevant on ecclerig
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Wed, 20 Dec 2023 17:58:34 +0000 |
parents | 107d592c5f4a |
children |
line wrap: on
line source
(defvar sgml-font-lock-keywords '(;; highlight defining forms. ("^<!\\([^- \t\n]+\\)[ \t\n]\\s-*\\(% \\)?\\(\\S-+\\)" (1 font-lock-keyword-face) (3 font-lock-function-name-face)) ("</?\\([-a-z0-9.A-Z]+\\)" 1 font-lock-function-name-face t) ; allow overlap to speed up ("\\(/\\)>" 1 font-lock-function-name-face) ("[%&][^ \t\n;]+" . font-lock-string-face) ("--[^-]+\\(-[^-]+\\)*--" . font-lock-comment-face) ("^<[?].*>" . font-lock-string-face) ) )