* lisp/gnus-bbdb.el (gnus-bbdb/update-record): Use
authorueno <ueno>
Fri, 21 Jul 2000 17:50:46 +0000 (17:50 +0000)
committerueno <ueno>
Fri, 21 Jul 2000 17:50:46 +0000 (17:50 +0000)
mime-entity-fetch-field instead of mail-header-from.

ChangeLog
lisp/gnus-bbdb.el

index ed975e5..5c356ed 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-21   Daiki Ueno  <ueno@unixuser.org>
+
+       * lisp/gnus-bbdb.el (gnus-bbdb/update-record): Use
+       mime-entity-fetch-field instead of mail-header-from.
+
 2000-07-18   Daiki Ueno  <ueno@unixuser.org>
 
        * lisp/gnus-vers.el (gnus-revision-number): Increment to 02.
index 7763794..e39ba6b 100644 (file)
@@ -54,7 +54,7 @@ bbdb/news-auto-create-p is non-nil, or if OFFER-TO-CREATE is true and
 the user confirms the creation."
   (if bbdb-use-pop-up
       (gnus-bbdb/pop-up-bbdb-buffer offer-to-create)
-    (let ((from (mail-header-from gnus-current-headers)))
+    (let ((from (mime-entity-fetch-field gnus-current-headers "from")))
       (when from
        (setq from (gnus-bbdb/extract-address-components
                    (gnus-bbdb/decode-field-body from 'From))))