(mime-bbdb/update-record): Use `mime-entity-fetch-field' instead of
authormorioka <morioka>
Wed, 28 Jul 1999 14:24:00 +0000 (14:24 +0000)
committermorioka <morioka>
Wed, 28 Jul 1999 14:24:00 +0000 (14:24 +0000)
`mime-fetch-field'.

mime-bbdb.el

index 62bc191..39913df 100644 (file)
@@ -161,10 +161,10 @@ the user confirms the creation."
     (if bbdb-use-pop-up
         (mime-bbdb/pop-up-bbdb-buffer offer-to-create)
       (let* ((message (get-text-property (point-min) 'mime-view-entity))
-            (from (mime-fetch-field 'From message))
+            (from (mime-entity-fetch-field message 'From))
             addr)
        (if (or (null from)
-                (null (setq addr (car (mime-read-field 'From message))))
+                (null (setq addr (car (mime-entity-read-field message 'From))))
                 (string-match (bbdb-user-mail-names)
                              (std11-address-string addr)))
             (setq from (or (mime-fetch-field 'To message)