changeset 84904:e2e245301b8c

(sregex--char-aux): Use `mapc' rather than `mapcar'.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 26 Sep 2007 00:15:54 +0000
parents a164ccfc4d79
children 47928cf63c6c
files lisp/emacs-lisp/sregex.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/sregex.el	Wed Sep 26 00:15:30 2007 +0000
+++ b/lisp/emacs-lisp/sregex.el	Wed Sep 26 00:15:54 2007 +0000
@@ -565,7 +565,7 @@
   (let ((chars (make-bool-vector 256 nil))) ; Yeah, right!
     (dolist (arg args)
       (cond ((integerp arg) (aset chars arg t))
-	    ((stringp arg) (mapcar (lambda (c) (aset chars c t)) arg))
+	    ((stringp arg) (mapc (lambda (c) (aset chars c t)) arg))
 	    ((consp arg)
 	     (let ((start (car arg))
 		   (end (cdr arg)))