* wl-addrbook.el (wl-summary-addrbook-from): Use
authorhmurata <hmurata>
Tue, 23 Sep 2003 02:22:36 +0000 (02:22 +0000)
committerhmurata <hmurata>
Tue, 23 Sep 2003 02:22:36 +0000 (02:22 +0000)
elmo-message-entity-field.

utils/ChangeLog
utils/wl-addrbook.el

index 24a5e8e..dda4a93 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+       * wl-addrbook.el (wl-summary-addrbook-from): Use
+       elmo-message-entity-field.
+
 2003-07-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
 
        * ptexinfmt.el: @verb, @tie, @/ support.
index d9fd2dd..9a1c302 100644 (file)
@@ -577,10 +577,9 @@ And use Addrbook for get user name."
          (string-match wl-summary-showto-folder-regexp
                        wl-summary-buffer-folder-name)
          (wl-address-user-mail-address-p fromaddr)
-         (cond ((setq dest (elmo-msgdb-overview-entity-get-to entity))
+         (cond ((setq dest (elmo-message-entity-field entity 'to))
                 (concat "To:" (eword-decode-string (wl-addrbook-get-names dest))))
-               ((setq dest (elmo-msgdb-overview-entity-get-extra-field
-                            entity "newsgroups"))
+               ((setq dest (elmo-message-entity-field entity 'newsgroups))
                 (concat "Ng:" dest))))
      (wl-addrbook-nickname-get fromaddr)
      from)))