help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: face-remap-add-relative and map-apply in mode hook


From: Michael Heerdegen
Subject: Re: face-remap-add-relative and map-apply in mode hook
Date: Sun, 22 Nov 2020 15:17:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> > ;; 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.

Yip (from the face names).  Then it works for me.

Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]