[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: face-remap-add-relative and map-apply in mode hook
From: |
Eli Zaretskii |
Subject: |
Re: face-remap-add-relative and map-apply in mode hook |
Date: |
Sat, 21 Nov 2020 18:07:08 +0200 |
> Date: Sat, 21 Nov 2020 15:33:05 +0000
> From: "Oscar Brink" <oscar@brink.pw>
>
> I do not understand why the following does not work
>
> (1)
> ;; This does NOT work
> (lambda ()
> (map-apply (lambda (face specs) (face-remap-add-relative face specs))
> '(('font-lock-comment-delimiter-face . (:foreground "#6EDA8D"))
> ('font-lock-comment-face . (:foreground "#6EDA8D")))))
For starters, remove the quotes from the file names inside the quoted
list.