diff options
| author | Juanma Barranquero | 2007-09-25 10:42:16 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-09-25 10:42:16 +0000 |
| commit | c04c01ca0d0e491855e55bcfd16a49dbd0f779a9 (patch) | |
| tree | 82c96a019a35cd89a152cfe9541a9d4b8ba2a806 | |
| parent | 5110e1660c9128dbded7dc05e08049d8c93f569b (diff) | |
| download | emacs-c04c01ca0d0e491855e55bcfd16a49dbd0f779a9.tar.gz emacs-c04c01ca0d0e491855e55bcfd16a49dbd0f779a9.zip | |
(ansi-color-make-color-map): Use `mapc' rather than `mapcar'.
| -rw-r--r-- | lisp/ansi-color.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/ansi-color.el b/lisp/ansi-color.el index 769b21a38f3..9b022876ca2 100644 --- a/lisp/ansi-color.el +++ b/lisp/ansi-color.el | |||
| @@ -557,14 +557,14 @@ The face definitions are based upon the variables | |||
| 557 | (let ((ansi-color-map (make-vector 50 nil)) | 557 | (let ((ansi-color-map (make-vector 50 nil)) |
| 558 | (index 0)) | 558 | (index 0)) |
| 559 | ;; miscellaneous attributes | 559 | ;; miscellaneous attributes |
| 560 | (mapcar | 560 | (mapc |
| 561 | (function (lambda (e) | 561 | (function (lambda (e) |
| 562 | (aset ansi-color-map index e) | 562 | (aset ansi-color-map index e) |
| 563 | (setq index (1+ index)) )) | 563 | (setq index (1+ index)) )) |
| 564 | ansi-color-faces-vector) | 564 | ansi-color-faces-vector) |
| 565 | ;; foreground attributes | 565 | ;; foreground attributes |
| 566 | (setq index 30) | 566 | (setq index 30) |
| 567 | (mapcar | 567 | (mapc |
| 568 | (function (lambda (e) | 568 | (function (lambda (e) |
| 569 | (aset ansi-color-map index | 569 | (aset ansi-color-map index |
| 570 | (ansi-color-make-face 'foreground e)) | 570 | (ansi-color-make-face 'foreground e)) |
| @@ -572,7 +572,7 @@ The face definitions are based upon the variables | |||
| 572 | ansi-color-names-vector) | 572 | ansi-color-names-vector) |
| 573 | ;; background attributes | 573 | ;; background attributes |
| 574 | (setq index 40) | 574 | (setq index 40) |
| 575 | (mapcar | 575 | (mapc |
| 576 | (function (lambda (e) | 576 | (function (lambda (e) |
| 577 | (aset ansi-color-map index | 577 | (aset ansi-color-map index |
| 578 | (ansi-color-make-face 'background e)) | 578 | (ansi-color-make-face 'background e)) |