2003-02-08 Michael Welsh Duggan <md5i@cs.cmu.edu>
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 8 Feb 2003 21:09:34 +0000 (21:09 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 8 Feb 2003 21:09:34 +0000 (21:09 +0000)
* nnmail.el (nnmail-split-it): If a message ends up matching the
  same mailbox more than once, it will cause duplicates to appear
  in the mailbox.

lisp/ChangeLog
lisp/nnmail.el

index 57a132a..7eb5660 100644 (file)
@@ -1,3 +1,9 @@
+2003-02-08  Michael Welsh Duggan  <md5i@cs.cmu.edu>
+
+       * nnmail.el (nnmail-split-it): If a message ends up matching the
+         same mailbox more than once, it will cause duplicates to appear
+         in the mailbox.
+
 2003-02-08  Simon Josefsson  <jas@extundo.com>
 
        * gnus-sum.el (gnus-summary-select-article): Remove blink removal
index 1fa9e6a..fd2fccf 100644 (file)
@@ -1331,7 +1331,7 @@ See the documentation for the variable `nnmail-split-fancy' for details."
                ;; correct match positions.
                (re-search-backward value start-of-value))
              (dolist (sp (nnmail-split-it (car split-rest)))
-               (unless (memq sp split-result)
+               (unless (member sp split-result)
                  (push sp split-result))))))
        split-result))