2000-06-23 Akira Ohashi <hato@yui.gr.jp>
authorbg66 <bg66>
Fri, 23 Jun 2000 02:59:56 +0000 (02:59 +0000)
committerbg66 <bg66>
Fri, 23 Jun 2000 02:59:56 +0000 (02:59 +0000)
        * wl-summary.el (wl-summary-search-by-subject):
        Check message-id field for `Is founded entity myself?'.

wl/wl-summary.el

index a2b4787..5fdaac5 100644 (file)
@@ -2986,7 +2986,9 @@ If optional argument is non-nil, checking is omitted."
            (setq founds (wl-summary-get-alike))))))
     (if (and founds
             ;; Is founded entity myself or children?
-            (not (eq entity (car founds)))
+            (not (string=
+                  (elmo-msgdb-overview-entity-get-id entity)
+                  (elmo-msgdb-overview-entity-get-id (car founds))))
             (not (wl-thread-descendant-p
                   (elmo-msgdb-overview-entity-get-number entity)
                   (elmo-msgdb-overview-entity-get-number (car founds)))))