From: keiichi Date: Sat, 31 Oct 1998 05:23:42 +0000 (+0000) Subject: (gnus-bbdb/update-record): Use `nnheader-decode-field-body' instead of X-Git-Tag: keiichi-199811302358~45 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51dd14f7b5f352e98c8ef0d9c2d48b9d554fa97d;p=elisp%2Fgnus.git- (gnus-bbdb/update-record): Use `nnheader-decode-field-body' instead of `mime-decode-field-body'. (gnus-bbdb/extract-field-value): Ditto. --- diff --git a/lisp/gnus-bbdb.el b/lisp/gnus-bbdb.el index 9200987..be9a7bf 100644 --- a/lisp/gnus-bbdb.el +++ b/lisp/gnus-bbdb.el @@ -47,7 +47,7 @@ the user confirms the creation." (- (point) 2))) (let ((to (mail-fetch-field "to"))) (when to - (setq from (mime-decode-field-body to 'To 'unfolding)))))) + (setq from (nnheader-decode-field-body to 'To 'unfolding)))))) (when from (bbdb-annotate-message-sender from t (or (bbdb-invoke-hook-for-value @@ -439,9 +439,7 @@ beginning of the message headers." ;; exist only in the message. (let (value) (when (setq value (mail-fetch-field field-name)) - (mime-decode-field-body value - (intern (capitalize field-name)) - 'unfolding)))) + (nnheader-decode-field-body value field-name 'unfolding)))) ;; ;; Insinuation