2

Try (defconst trigger-zone-highlights '(("trigger-zone" (0 '(face trigger-zone-face keymap trigger-zone-map)))))


1

Indeed, the last font-lock rule still matches, and of its 3 highlighting instructions, the first (that which highlights the opening $) won't be applied because this chars has already been highlighted by the first rule, but the other 2 highlighting instructions are still applied because that part of the text hasn't been highlighted yet. There are also "...


1

AUCTeX fontifies all control words: For known ones (added in font-latex.el or via AUCTeX style files), it uses different classes (e.g., warning, function, textual etc.) and for unknown ones, it simply uses the font-latex-sedate-face which defaults to Foreground: DimGray. You can customize this face if you want a different appearance. There is no ...


Only top voted, non community-wiki answers of a minimum length are eligible