diff options
| author | Lars Ingebrigtsen | 2020-08-10 16:26:34 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2020-08-10 16:26:34 +0200 |
| commit | dcce2b57bb91d490787dffd437b61196f1029b41 (patch) | |
| tree | 5ac0c80780f5b50cbb86a4d83116b972a1d4ee0e /src/bytecode.c | |
| parent | 170faae31b13defc35a26ee6429dcb82066a6a66 (diff) | |
| download | emacs-dcce2b57bb91d490787dffd437b61196f1029b41.tar.gz emacs-dcce2b57bb91d490787dffd437b61196f1029b41.zip | |
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$
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions