branch: externals/auctex
commit 61e56f201ba2355d1daccbe4ed2040686ad2a268
Author: Tassilo Horn <[email protected]>
Commit: Tassilo Horn <[email protected]>
Fix bug where font-latex-sub/superscript-face was not applied to ^_
* font-latex.el (font-latex-make-user-keywords): prepend
font-latex-script-char-face, don't replace existing specs.
---
font-latex.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/font-latex.el b/font-latex.el
index eed7eb9..fe26150 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -820,7 +820,7 @@ Generated by `font-latex-make-user-keywords'.")))
(font-latex-match-script
(1 (font-latex-script (match-beginning 0)) append))
(font-latex-match-script-chars
- (1 (font-latex-script-char (match-beginning 1)) t))))
+ (1 (font-latex-script-char (match-beginning 1)) prepend))))
(add-to-list 'font-latex-keywords-2 item t)))
(font-latex-make-user-keywords)