(vc-svn-registered): Catch all errors.
[bpt/emacs.git] / lisp / cus-theme.el
index 32e0196..43cf96e 100644 (file)
@@ -1,6 +1,6 @@
 ;;; cus-theme.el -- custom theme creation user interface
 ;;
-;; Copyright (C) 2001, 2005 Free Software Foundation, Inc.
+;; Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 ;;
 ;; Author: Alex Schroeder <alex@gnu.org>
 ;; Maintainer: FSF
@@ -168,8 +168,9 @@ It includes all faces in list FACES."
                (princ " '(")
                (prin1 symbol)
                (princ " ")
-               (prin1 (or (get symbol 'customized-face)
-                          (get symbol 'face-defface-spec)))
+               (prin1 (list (append '(t)
+                                    (custom-face-attributes-get
+                                     'font-lock-comment-face nil))))
                (princ ")")))
              faces)
       (if (bolp)