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

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

Re: Question about customising faces


From: Joost Kremers
Subject: Re: Question about customising faces
Date: Tue, 30 Aug 2022 22:36:34 +0200
User-agent: mu4e 1.8.3; emacs 28.1.91

On Tue, Aug 30 2022, Gregory Heytings wrote:
>>
>> Actually, nil is not valid as a color, but people still use it.
>>
>> See the discussion of bug#54156.
>>
>
> I remember that discussion indeed.  So according to what you said there Joost
> should use
>
> (set-face-attribute 'isearch nil :background 'unspecified :foreground 
> "#d33682")
> (set-face-attribute 'isearch t :background 'unspecified :foreground "#d33682")
>
> What I don't understand is why the second call to set-face-attribute is 
> needed:
> here at least, the first call also affects future frames.

Yeah, it works for me as well if I use 'unspecified. The second call (with the
FRAME argument set to t) is not necessary.

Thanks!

-- 
Joost Kremers
Life has its moments



reply via email to

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