auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] Changes to auctex/style/MinionPro.el,v


From: Ralf Angeli
Subject: [AUCTeX-diffs] Changes to auctex/style/MinionPro.el,v
Date: Mon, 20 Aug 2007 20:09:24 +0000

CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    07/08/20 20:09:24

Index: MinionPro.el
===================================================================
RCS file: /cvsroot/auctex/auctex/style/MinionPro.el,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- MinionPro.el        25 May 2006 07:50:56 -0000      1.2
+++ MinionPro.el        20 Aug 2007 20:09:24 -0000      1.3
@@ -49,19 +49,14 @@
     "sscshape"
     "swshape")
    ;; Fontification
-   ;; FIXME: fontification for the textcommands suck
    (when (and (featurep 'font-latex)
              (eq TeX-install-font-lock 'font-latex-setup))
-     (setq font-latex-match-textual-keywords-local
-          (append font-latex-match-textual-keywords-local
-                  '("smallfrac"
-                    "slantfrac"
-                    "textsw"
-                    "textssc")))
-     (font-latex-match-textual-make)
-     (add-to-list 'font-latex-match-variable-keywords-local
-                 "figureversion")
-     (font-latex-match-variable-make))))
+     (font-latex-add-keywords '(("smallfrac" "{{")
+                               ("slantfrac" "{{")
+                               ("textsw" "{")
+                               ("textssc" "{"))
+                             'textual)
+     (font-latex-add-keywords '(("figureversion" "{")) 'variable))))
 
 (defvar LaTeX-MinionPro-package-options
   '("smallfamily" "medfamily" "fullfamily" "noopticals" "opticals"




reply via email to

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