(mime-read-field): Use `mime-decode-field-body'.
authormorioka <morioka>
Wed, 28 Oct 1998 22:25:43 +0000 (22:25 +0000)
committermorioka <morioka>
Wed, 28 Oct 1998 22:25:43 +0000 (22:25 +0000)
mime.el

diff --git a/mime.el b/mime.el
index 293b3e7..26e7e0d 100644 (file)
--- a/mime.el
+++ b/mime.el
@@ -276,14 +276,9 @@ If MESSAGE is specified, it is regarded as root entity."
                          (setq field (std11-parse-address
                                       (eword-lexical-analyze field-body)))
                          )
-                        ((memq field-name eword-decode-ignored-field-list)
-                         (setq field field-body))
-                        ((memq field-name eword-decode-structured-field-list)
-                         (setq field (eword-decode-structured-field-body
-                                      field-body)))
                         (t
-                         (setq field (eword-decode-unstructured-field-body
-                                      field-body))
+                         (setq field (mime-decode-field-body
+                                      field-body field-name 'native))
                          ))
                   (mime-entity-set-parsed-header-internal
                    entity (put-alist field-name field header))