* wl-thread.el (wl-thread-entity-insert-as-children): Use
authoryoichi <yoichi>
Sat, 2 Dec 2006 17:26:32 +0000 (17:26 +0000)
committeryoichi <yoichi>
Sat, 2 Dec 2006 17:26:32 +0000 (17:26 +0000)
wl-thread-entity-set-children.

wl/ChangeLog
wl/wl-thread.el

index 4ad0bf1..7d5769d 100644 (file)
@@ -1,3 +1,8 @@
+2006-12-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
+
+       * wl-thread.el (wl-thread-entity-insert-as-children): Use
+       wl-thread-entity-set-children.
+
 2006-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
 
        * wl-mime.el (wl-epg-progress-callback): New function.
index c959030..de8b8c7 100644 (file)
                                      (nth (- (length curc) 1)
                                           curc))))
                        (wl-thread-entity-get-number curp)))
-    (setcar (cddr to) (wl-append children
-                                (list (car entity))))
+    (wl-thread-entity-set-children to (wl-append children (list (car entity))))
     (setq wl-thread-entities (cons entity wl-thread-entities))
     (elmo-set-hash-val (format "#%d" (car entity)) entity
                       wl-thread-entity-hashtb)))