1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00
emacs/lisp/textmodes
Lars Ingebrigtsen dcce2b57bb Fix fontification of outdated TeX form
* lisp/textmodes/tex-mode.el (tex-font-lock-keywords-2): End the
expression before the terminating $ in constructions like $\it
identifiername$
(bug#28277). This avoids italicising the final $ character.

This fixes the final $ of the final test case here:

$foo$
\textit{foo}
{\it foo}
$\mathit{identifiername}$
$\textit{identifiername}$
${\it identifiername}$
$\it identifiername$
2020-08-10 16:26:34 +02:00
..
artist.el
bib-mode.el
bibtex-style.el
bibtex.el Evaluate some unnecessarily quoted lambdas 2020-06-21 13:42:14 +01:00
conf-mode.el
css-mode.el Add sass @use rule to css-mode 2020-08-04 12:12:46 +02:00
dns-mode.el
enriched.el
fill.el
flyspell.el
ispell.el
less-css-mode.el
makeinfo.el
mhtml-mode.el Fix filling in js-mode and mhtml-mode (js-mode parts), fixing bug #41897 2020-07-04 12:55:49 +00:00
nroff-mode.el
page-ext.el
page.el
paragraphs.el
picture.el
po.el
refbib.el
refer.el
refill.el
reftex-auc.el
reftex-cite.el
reftex-dcr.el
reftex-global.el
reftex-index.el
reftex-parse.el
reftex-ref.el
reftex-sel.el
reftex-toc.el
reftex-vars.el
reftex.el
remember.el
rst.el
sgml-mode.el Add a new HTML skeleton for relative (file) URLs 2020-08-06 15:11:48 +02:00
table.el
tex-mode.el Fix fontification of outdated TeX form 2020-08-10 16:26:34 +02:00
texinfmt.el
texinfo.el
texnfo-upd.el
text-mode.el
tildify.el
two-column.el
underline.el