(wl-score-ov-entity-get): Call 'elmo-message-entity-field' with
authorkaoru <kaoru>
Sun, 5 Aug 2007 13:29:56 +0000 (13:29 +0000)
committerkaoru <kaoru>
Sun, 5 Aug 2007 13:29:56 +0000 (13:29 +0000)
TYPE artgument when TO or CC field.

wl/ChangeLog
wl/wl-score.el

index f4b8134..cc632b5 100644 (file)
@@ -3,7 +3,7 @@
        * wl-score.el (wl-score-insert-header): Add guard for
        `std11-unfold-string'.
        (wl-score-ov-entity-get): Call 'elmo-message-entity-field' with
-       TYPE artgument.
+       TYPE artgument when TO or CC field.
 
 2007-04-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
 
index a6ae125..1dc8aad 100644 (file)
@@ -177,7 +177,11 @@ Remove Re, Was, Fwd etc."
           (string= s1 s2))))
 
 (defsubst wl-score-ov-entity-get (entity index &optional extra)
-  (elmo-message-entity-field entity (if extra (intern extra) index) 'string))
+  (elmo-message-entity-field entity (if extra (intern extra) index)
+                            ;; FIXME
+                            (if (or (eq index 'to) (eq index 'cc))
+                                'string
+                              nil)))
 
 (defun wl-score-string< (a1 a2)
   (string-lessp (wl-score-ov-entity-get (car a1) wl-score-index)