Mercurial > emacs
changeset 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 | 29a2854dd601 |
children | ca3cf0871ecb |
files | lisp/mail/supercite.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
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))