(make-full-mail-header): If field decoder does not found, then do not decode
authorkeiichi <keiichi>
Fri, 24 Dec 1999 07:31:03 +0000 (07:31 +0000)
committerkeiichi <keiichi>
Fri, 24 Dec 1999 07:31:03 +0000 (07:31 +0000)
field body.

lisp/nnheader.el

index b5e9e96..a92bab7 100644 (file)
@@ -131,9 +131,11 @@ on your system, you could say something like:
                    :extra (mapcar
                            (lambda (field)
                              (cons (car field)
-                                   (funcall (mime-find-field-decoder
-                                             (car field) 'nov)
-                                            (cdr field))))
+                                   (let ((func (mime-find-field-decoder
+                                                (car field) 'nov)))
+                                     (if func
+                                         (funcall func (cdr field))
+                                       (cdr field)))))
                            extra)
                    :original-header
                    (apply 'list