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: Eli Zaretskii
Subject: Re: Question about customising faces
Date: Wed, 31 Aug 2022 05:25:36 +0300

> Date: Tue, 30 Aug 2022 19:15:59 +0000
> From: Gregory Heytings <gregory@heytings.org>
> cc: help-gnu-emacs@gnu.org
> 
> > 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.

According to the discussion there, if all the calls use 'unspecified,
only the first one is needed.  But if nil is used, something that
people think they can do, both calls are needed.



reply via email to

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