section names can be prefixed with X-

This commit is contained in:
Mark Oteiza 2016-04-30 18:07:27 -04:00
parent a434645e76
commit 4121a9a37b

View File

@ -320,7 +320,7 @@ file, defaulting to the link under point, if any."
(2 'font-lock-comment-face))
("\\\\$" 0 'font-lock-warning-face) ; line break
;; sections
("^\\(\\[[[:upper:]][[:alnum:]]+\\]\\)"
("^\\(\\[\\(?:X-\\)?[[:upper:]][[:alnum:]]+\\]\\)"
1 'font-lock-type-face)
;; keys
("^\\([[:upper:]][[:alnum:]]+\\)="