(gnus-group-split-fancy): Eschew mapcon.
authorDave Love <fx@gnu.org>
Tue, 29 Aug 2000 15:03:23 +0000 (15:03 +0000)
committerDave Love <fx@gnu.org>
Tue, 29 Aug 2000 15:03:23 +0000 (15:03 +0000)
lisp/gnus-mlspl.el

index 73c7e16..afeb41c 100644 (file)
@@ -179,8 +179,12 @@ Calling (gnus-group-split-fancy nil nil \"mail.misc\") returns:
                         (list 'any split-regexp)
                         ;; Generate RESTRICTs for SPLIT-EXCLUDEs.
                         (if (listp split-exclude)
-                            (mapcon (lambda (arg) (cons '- arg))
-                                    split-exclude)
+                            (let ((seq split-exclude)
+                                  res)
+                              (while seq
+                                (push (cons '- (pop seq))
+                                      res))
+                              (apply #'nconc (nreverse res)))
                           (list '- split-exclude))
                         (list group-clean))
                        split)