CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    10/09/12 09:48:15

Index: font-latex.el
===================================================================
RCS file: /cvsroot/auctex/auctex/font-latex.el,v
retrieving revision 5.190
retrieving revision 5.191
diff -u -b -r5.190 -r5.191
--- font-latex.el       11 Apr 2010 14:24:27 -0000      5.190
+++ font-latex.el       12 Sep 2010 09:48:15 -0000      5.191
@@ -1,7 +1,7 @@
 ;;; font-latex.el --- LaTeX fontification for Font Lock mode.
 
-;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
-;;   2004, 2005, 2006, 2007, 2008 Free Software Foundation.
+;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+;;   2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
 
 ;; Authors:    Peter S. Galbraith <[email protected]>
 ;;             Simon Marshall <[email protected]>
@@ -514,7 +514,9 @@
        ((eq type 'noarg)
         `(,(intern (concat prefix name))
           ;; Quote a list of face properties but do not to quote a face symbol.
-          (0 ,(if (listp face) `',face face))))
+          (0 ,(if (and (listp face) (not (fboundp (car face))))
+                  `',face
+                face))))
        ((eq type 'declaration)
         `(,(intern (concat prefix name))
           (0 'font-latex-warning-face t t)

_______________________________________________
auctex-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to