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

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

Re: face-remap-add-relative versus set-face-attribute


From: Emanuel Berg
Subject: Re: face-remap-add-relative versus set-face-attribute
Date: Sun, 13 Feb 2022 10:27:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

goncholden wrote:

>> It is the second `set-face-attribute' ...
>
> (set-face-attribute 'font-lock-comment-delimiter-face nil
>    :weight (face-attribute 'font-lock-comment-face :weight) ))
>
> Is this the way you would inherit same weight from
> font-lock-comment ?

I think I would `copy-face' first, then change whatever (if
anything) that sets one apart from the other ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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