CVSROOT: /cvsroot/auctex
Module name: auctex
Changes by: Ralf Angeli <angeli> 07/08/19 20:23:32
Index: flashcards.el
===================================================================
RCS file: /cvsroot/auctex/auctex/style/flashcards.el,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- flashcards.el 23 Apr 2007 18:53:55 -0000 1.1
+++ flashcards.el 19 Aug 2007 20:23:32 -0000 1.2
@@ -50,13 +50,11 @@
;; Fontification
(when (and (featurep 'font-latex)
(eq TeX-install-font-lock 'font-latex-setup))
- (mapcar (lambda (keyword)
- (add-to-list 'font-latex-match-variable-keywords-local keyword))
- '("cardfrontstyle" "cardfrontfoot" "cardbackstyle"
- "cardfrontheadstyle" "cardfrontfootstyle"))
- (font-latex-match-variable-make)
- ;; Tell font-lock about the update.
- (setq font-lock-set-defaults nil)
- (font-lock-set-defaults))))
+ (font-latex-add-keywords '(("cardfrontstyle" "[{")
+ ("cardfrontfoot" "{")
+ ("cardbackstyle" "{")
+ ("cardfrontheadstyle" "[{")
+ ("cardfrontfootstyle" "[{"))
+ 'variable))))
;;; flashcards.el ends here
_______________________________________________
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs