diff lisp/mail/supercite.el @ 84957:ac461e78456b

(sc-attribs-filter-namelist): Use mapc rather than mapcar.
author Glenn Morris <rgm@gnu.org>
date Fri, 28 Sep 2007 03:27:02 +0000
parents 8e27d63c45eb
children c44e4015b517 bdb3fe0ba9fa
line wrap: on
line diff
--- a/lisp/mail/supercite.el	Thu Sep 27 21:20:07 2007 +0000
+++ b/lisp/mail/supercite.el	Fri Sep 28 03:27:02 2007 +0000
@@ -1038,12 +1038,12 @@
   (let ((elements (length namelist))
 	(position -1)
 	keepers filtered-list)
-    (mapcar
+    (mapc
      (function
       (lambda (name)
 	(setq position (1+ position))
 	(let ((keep-p t))
-	  (mapcar
+	  (mapc
 	   (function
 	    (lambda (filter)
 	      (let ((regexp (car filter))
@@ -1061,7 +1061,7 @@
 	      (setq keepers (cons position keepers)))
 	  )))
      namelist)
-    (mapcar
+    (mapc
      (function
       (lambda (position)
 	(setq filtered-list (cons (nth position namelist) filtered-list))