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

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

Re: Overriding inherited face attributes


From: Eli Zaretskii
Subject: Re: Overriding inherited face attributes
Date: Wed, 28 Nov 2018 15:06:17 +0200

> From: Stephen Berman <stephen.berman@gmx.net>
> Cc: help-gnu-emacs@gnu.org
> Date: Wed, 28 Nov 2018 13:24:51 +0100
> 
> But then I observed that merely switching the order:
> 
> (insert (propertize "hello" 'face '(:inherit (:foreground "orange")
> :foreground "red")))
> 
> makes the face display as red, and this seems to conflict with the above
> documentation.

It doesn't, because ':foreground "red"' is not the "underlying face".



reply via email to

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