auctex-diffs
[Top][All Lists]
Advanced

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

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


From: Ralf Angeli
Subject: [AUCTeX-diffs] Changes to auctex/style/booktabs.el,v
Date: Sun, 19 Aug 2007 20:23:21 +0000

CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    07/08/19 20:23:21

Index: booktabs.el
===================================================================
RCS file: /cvsroot/auctex/auctex/style/booktabs.el,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- booktabs.el 1 Jul 2007 21:33:41 -0000       1.5
+++ booktabs.el 19 Aug 2007 20:23:21 -0000      1.6
@@ -59,16 +59,14 @@
    ;; Fontification
    (when (and (featurep 'font-latex)
              (eq TeX-install-font-lock 'font-latex-setup))
-     (setq font-latex-match-function-keywords-local
-          (append font-latex-match-function-keywords-local
-                  '("toprule"
-                    "midrule"
-                    "bottomrule"
-                    "cmidrule"
-                    "addlinespace"
-                    "morecmidrule"
-                    "specialrule")))
-     (font-latex-match-function-make))))
+     (font-latex-add-keywords '(("toprule" "[")
+                               ("midrule" "[")
+                               ("bottomrule" "[")
+                               ("cmidrule" "[({")
+                               ("addlinespace" "[")
+                               ("morecmidrules" "")
+                               ("specialrule" "{{{"))
+                             'function))))
 
 (defvar LaTeX-booktabs-package-options nil
   "Package options for the booktabs package.")                 




reply via email to

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