[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/font-latex.el,v
From: |
Ralf Angeli |
Subject: |
[AUCTeX-diffs] Changes to auctex/font-latex.el,v |
Date: |
Fri, 21 Jul 2006 21:08:35 +0000 |
CVSROOT: /cvsroot/auctex
Module name: auctex
Changes by: Ralf Angeli <angeli> 06/07/21 21:08:35
Index: font-latex.el
===================================================================
RCS file: /cvsroot/auctex/auctex/font-latex.el,v
retrieving revision 5.158
retrieving revision 5.159
diff -u -b -r5.158 -r5.159
--- font-latex.el 18 Jul 2006 21:18:09 -0000 5.158
+++ font-latex.el 21 Jul 2006 21:08:35 -0000 5.159
@@ -1500,10 +1500,8 @@
(when (and font-latex-fontify-script
(re-search-forward "[_^] *\\([^\n\\{}]\\|\
\\\\\\(address@hidden|[^ \t\n]\\)\\|\\({\\)\\)" limit t))
- (if (font-latex-faces-present-p
- (if (string= (substring (match-string 0) 0 1) "_")
- 'font-latex-subscript-face
- 'font-latex-superscript-face))
+ (if (font-latex-faces-present-p '(font-latex-subscript-face
+ font-latex-superscript-face))
;; Apply subscript and superscript highlighting only once in
;; order to prevent the font size becoming too small. We set
;; an empty match to do that.