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

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

Re: face-remap-add-relative not executing


From: Christopher Dimech
Subject: Re: face-remap-add-relative not executing
Date: Mon, 23 Nov 2020 14:30:15 +0100

> Sent: Monday, November 23, 2020 at 2:13 PM
> From: "Michael Heerdegen" <michael_heerdegen@web.de>
> To: help-gnu-emacs@gnu.org
> Subject: Re: face-remap-add-relative not executing
>
> Christopher Dimech <dimech@gmx.com> writes:
>
> > Like so then:
> >
> > (defun orglev-colours ()
> >    "Sets colours of headings."
> >    (face-remap-add-relative '(org-level-1 ((t (:foreground "00FFFF")))))
>
> No, you provide one argument.  The face name is expected to be a
> separate argument in `face-remap-add-relative'.

How should it be written, got no clue.

> Are you sure you wanted to use the face remapping mechanism for org
> faces btw?

Just doing it for the fun of it.

> Michael.
>
>
>



reply via email to

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