(gnus-parse-simple-format): Ignore error in `gnus-user-format-function-*'.
authorkeiichi <keiichi>
Wed, 30 Jun 1999 02:09:55 +0000 (02:09 +0000)
committerkeiichi <keiichi>
Wed, 30 Jun 1999 02:09:55 +0000 (02:09 +0000)
lisp/gnus-spec.el

index 2b06fa8..616c565 100644 (file)
           (user-defined
            (setq elem
                  (list
-                  (list (intern (format "gnus-user-format-function-%c"
-                                        user-defined))
-                        'gnus-tmp-header)
+                  (list 'condition-case 'err
+                        (list (intern (format "gnus-user-format-function-%c"
+                                              user-defined))
+                              'gnus-tmp-header)
+                        (list 'error
+                              (list 'gnus-error 1
+                                    (format
+                                     "Error occured in `gnus-user-format-function-%c: %%s"
+                                     user-defined)
+                                    'err) ""))
                   ?s)))
           ;; Find the specification from `spec-alist'.
           ((setq elem (cdr (assq spec spec-alist))))