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\\{}]\\|\
\\\\\\([EMAIL PROTECTED]|[^ \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.
_______________________________________________
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs