emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex 61e56f2 40/57: Fix bug where font-latex-sub/supe


From: Tassilo Horn
Subject: [elpa] externals/auctex 61e56f2 40/57: Fix bug where font-latex-sub/superscript-face was not applied to ^_
Date: Wed, 11 Jan 2017 18:01:42 +0000 (UTC)

branch: externals/auctex
commit 61e56f201ba2355d1daccbe4ed2040686ad2a268
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>

    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)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]