auctex-diffs
[Top][All Lists]
Advanced

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

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


From: Ralf Angeli
Subject: [AUCTeX-diffs] Changes to auctex/style/scrbook.el,v
Date: Tue, 21 Aug 2007 20:34:15 +0000

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

Index: scrbook.el
===================================================================
RCS file: /cvsroot/auctex/auctex/style/scrbook.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- scrbook.el  5 Jun 2005 18:32:07 -0000       1.7
+++ scrbook.el  21 Aug 2007 20:34:15 -0000      1.8
@@ -6,7 +6,7 @@
 
 ;; Author: Mark Trettin <address@hidden>
 ;; Created: 2002-09-26
-;; Version: $Id: scrbook.el,v 1.7 2005/06/05 18:32:07 angeli Exp $
+;; Version: $Id: scrbook.el,v 1.8 2007/08/21 20:34:15 angeli Exp $
 ;; Keywords: tex
 
 ;;; Commentary: 
@@ -38,15 +38,12 @@
     (when (and (featurep 'font-latex)
               (eq TeX-install-font-lock 'font-latex-setup))
       ;; Textual keywords
-      (setq font-latex-match-textual-keywords-local
-           (append font-latex-match-textual-keywords-local
-                   '("addchap"
-                     "setpartpreamble"
-                     "setchapterpreamble"
-                     "dictum")))
-      (font-latex-match-textual-make)
+      (font-latex-add-keywords '(("addchap" "[{")
+                                ("setpartpreamble" "[[{")
+                                ("setchapterpreamble" "[[{")
+                                ("dictum" "[{"))
+                              'textual)
       ;; Sectioning keywords
-      (add-to-list 'font-latex-match-sectioning-1-keywords-local "addchap")
-      (font-latex-match-sectioning-1-make))))
+      (font-latex-add-keywords '(("addchap" "[{")) 'sectioning-1))))
 
 ;;; scrbook.el ends here




reply via email to

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