mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(ansi-color-make-color-map): Use mapc' rather than
mapcar'.
This commit is contained in:
parent
5110e1660c
commit
c04c01ca0d
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user