* lisp/textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 17 Jul 2012 08:11:31 +0000 (04:11 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 17 Jul 2012 08:11:31 +0000 (04:11 -0400)
commit45fd731c4dcba0db0ac7e8f4a12d30274396eac7
tree8c67ff37e6fc1faa53842987c64c9cb50b331c59
parent9ea10cc3431ce03da0a375cd573ceedd5cdbdf67
* lisp/textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
$$..$$ but also $..$ using regexps.
Use tex-verbatim for \url and \path.
(tex-font-lock-keywords): Define as defconst like the others.
(tex-common-initialization): Don't use font-lock-syntax-table any more.
* test/indent/latex-mode.tex: New file.

Fixes: debbugs:11953
lisp/ChangeLog
lisp/textmodes/tex-mode.el
test/ChangeLog
test/indent/latex-mode.tex [new file with mode: 0644]