[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/style/scrreprt.el,v
From: |
Ralf Angeli |
Subject: |
[AUCTeX-diffs] Changes to auctex/style/scrreprt.el,v |
Date: |
Tue, 21 Aug 2007 20:34:33 +0000 |
CVSROOT: /cvsroot/auctex
Module name: auctex
Changes by: Ralf Angeli <angeli> 07/08/21 20:34:33
Index: scrreprt.el
===================================================================
RCS file: /cvsroot/auctex/auctex/style/scrreprt.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- scrreprt.el 5 Jun 2005 18:32:07 -0000 1.7
+++ scrreprt.el 21 Aug 2007 20:34:33 -0000 1.8
@@ -1,22 +1,35 @@
-;;; -*- emacs-lisp -*-
-;;; scrreprt.el -- AUC TeX style for scrreprt.cls
+;;; scrreprt.el --- AUCTeX style for scrreprt.cls.
;; Copyright (C) 2002, 2005 Free Software Foundation
-;; License: GPL, see the file COPYING in the base directory of AUCTeX
;; Author: Mark Trettin <address@hidden>
;; Created: 2002-09-26
-;; Version: $Id: scrreprt.el,v 1.7 2005/06/05 18:32:07 angeli Exp $
;; Keywords: tex
+;; This file is part of AUCTeX.
+
+;; AUCTeX is free software; you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+
+;; AUCTeX is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with AUCTeX; see the file COPYING. If not, write to the Free
+;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+;; 02110-1301, USA.
+
;;; Commentary:
;; This file adds support for `scrreprt.cls'. This file needs
;; `scrbase.el'.
-;; This file is part of AUCTeX.
-
;;; Code:
+
(TeX-add-style-hook
"scrreprt"
(lambda ()
@@ -39,15 +52,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))))
;;; scrreprt.el ends here
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] Changes to auctex/style/scrreprt.el,v,
Ralf Angeli <=