diff options
| author | Glenn Morris | 2007-09-28 03:27:02 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-09-28 03:27:02 +0000 |
| commit | 804edf0342db48405bd2c17132be4640c562ed4c (patch) | |
| tree | 3b673129a8a0abdf6d9a5cfe21393a1fb651a418 | |
| parent | 75a8734b11821d807cf64b42c66f8fe141ad4e5e (diff) | |
| download | emacs-804edf0342db48405bd2c17132be4640c562ed4c.tar.gz emacs-804edf0342db48405bd2c17132be4640c562ed4c.zip | |
(sc-attribs-filter-namelist): Use mapc rather than mapcar.
| -rw-r--r-- | lisp/mail/supercite.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mail/supercite.el b/lisp/mail/supercite.el index cf9c9369497..61e7d0a00eb 100644 --- a/lisp/mail/supercite.el +++ b/lisp/mail/supercite.el | |||
| @@ -1038,12 +1038,12 @@ supplied, is used instead of the line point is on in the current buffer." | |||
| 1038 | (let ((elements (length namelist)) | 1038 | (let ((elements (length namelist)) |
| 1039 | (position -1) | 1039 | (position -1) |
| 1040 | keepers filtered-list) | 1040 | keepers filtered-list) |
| 1041 | (mapcar | 1041 | (mapc |
| 1042 | (function | 1042 | (function |
| 1043 | (lambda (name) | 1043 | (lambda (name) |
| 1044 | (setq position (1+ position)) | 1044 | (setq position (1+ position)) |
| 1045 | (let ((keep-p t)) | 1045 | (let ((keep-p t)) |
| 1046 | (mapcar | 1046 | (mapc |
| 1047 | (function | 1047 | (function |
| 1048 | (lambda (filter) | 1048 | (lambda (filter) |
| 1049 | (let ((regexp (car filter)) | 1049 | (let ((regexp (car filter)) |
| @@ -1061,7 +1061,7 @@ supplied, is used instead of the line point is on in the current buffer." | |||
| 1061 | (setq keepers (cons position keepers))) | 1061 | (setq keepers (cons position keepers))) |
| 1062 | ))) | 1062 | ))) |
| 1063 | namelist) | 1063 | namelist) |
| 1064 | (mapcar | 1064 | (mapc |
| 1065 | (function | 1065 | (function |
| 1066 | (lambda (position) | 1066 | (lambda (position) |
| 1067 | (setq filtered-list (cons (nth position namelist) filtered-list)) | 1067 | (setq filtered-list (cons (nth position namelist) filtered-list)) |