From: morioka Date: Wed, 28 Oct 1998 22:25:43 +0000 (+0000) Subject: (mime-read-field): Use `mime-decode-field-body'. X-Git-Tag: chao-1_12_0~7 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=1a8ed49e59c7c2dd96a05757de3be4e696f9efe6;p=elisp%2Fflim.git (mime-read-field): Use `mime-decode-field-body'. --- diff --git a/mime.el b/mime.el index 293b3e7..26e7e0d 100644 --- 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))