]> code.delx.au - gnu-emacs/commitdiff
(ansi-color-make-color-map): Use `mapc' rather than `mapcar'.
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 25 Sep 2007 10:42:16 +0000 (10:42 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 25 Sep 2007 10:42:16 +0000 (10:42 +0000)
lisp/ansi-color.el

index 769b21a38f385a104301971a655801b6ab0bd41b..9b022876ca2e5e831103eeebae43d2aa33cfcbf4 100644 (file)
@@ -557,14 +557,14 @@ The face definitions are based upon the variables
   (let ((ansi-color-map (make-vector 50 nil))
         (index 0))
     ;; miscellaneous attributes
-    (mapcar
+    (mapc
      (function (lambda (e)
                  (aset ansi-color-map index e)
                  (setq index (1+ index)) ))
      ansi-color-faces-vector)
     ;; foreground attributes
     (setq index 30)
-    (mapcar
+    (mapc
      (function (lambda (e)
                  (aset ansi-color-map index
                       (ansi-color-make-face 'foreground e))
@@ -572,7 +572,7 @@ The face definitions are based upon the variables
      ansi-color-names-vector)
     ;; background attributes
     (setq index 40)
-    (mapcar
+    (mapc
      (function (lambda (e)
                  (aset ansi-color-map index
                       (ansi-color-make-face 'background e))