I want the commands
\addlines to be displayed in red (
font-latex-match-warning-keywords) but cannot figure out how to do this. I found several posts, but non of this seems to work.
This is what I tried:
;; \font-latex-warning-face (setq font-latex-match-warning-keywords '( ("addlines" "") ) ) (font-lock-add-keywords nil '(("\\(addlines\\) \\(largerpage\\)" 0 'font-latex-warning-face))) (font-lock-add-keywords 'latex-mode '(("addlines" 0 'font-latex-warning-face)))
I am using GNU Emacs 24.5.1.