auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] Changes to auctex/font-latex.el,v


From: Ralf Angeli
Subject: [AUCTeX-diffs] Changes to auctex/font-latex.el,v
Date: Sun, 12 Sep 2010 09:48:16 +0000

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 <address@hidden>
 ;;             Simon Marshall <address@hidden>
@@ -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)



reply via email to

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