* wl-score.el (wl-score-headers): Fix for the confusing macro
authorokada <okada>
Fri, 6 Oct 2000 11:41:00 +0000 (11:41 +0000)
committerokada <okada>
Fri, 6 Oct 2000 11:41:00 +0000 (11:41 +0000)
`elmo-kill-buffer'.

wl/ChangeLog
wl/wl-score.el

index 33a27a7..0a7cb46 100644 (file)
@@ -1,3 +1,8 @@
+2000-10-06  Kenichi OKADA      <okada@opaopa.org>
+
+       * wl-score.el (wl-score-headers): Fix for the confusing macro
+       `elmo-kill-buffer'.
+
 2000-10-05  Katsumi Yamaoka    <yamaoka@jpl.org>
 
        * wl-summary.el: Don't use the 3rd argument of `require' because
index d7dfd70..ff6ff78 100644 (file)
@@ -464,10 +464,9 @@ See `wl-score-simplify-buffer-fuzzy' for details."
        (setq wl-scores-messages (cdr wl-scores-messages))))
     (message "Scoring...done")
     ;; Remove buffers.
-    (let ((buffers wl-score-header-buffer-list))
-      (while buffers
-       (elmo-kill-buffer (pop buffers))))
-    (setq wl-score-header-buffer-list nil)))
+    (let (buffer)
+      (while (setq buffer (pop wl-score-header-buffer-list))
+       (elmo-kill-buffer buffer)))))
 
 (defun wl-score-integer (scores header now expire)
   (let ((wl-score-index (nth 2 (assoc header wl-score-header-index)))