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

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

Re: apply multiple faces using propertize


From: Richard Riley
Subject: Re: apply multiple faces using propertize
Date: Wed, 08 Dec 2010 15:27:29 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Could some kind soul give me an example of stacking faces in elisp using
>> "propertize" please e.g the system display will use the second face if
>> the first is not defined?
>
> (propertize "foo" 'face '(face1 face2)) ?
>
>         Stefan
>

Hi Stefan

I have been digging around and cant find a way to set an existing face
:inherit property programmatically. Is it possible or only when I
defined the face to start with?

r.


reply via email to

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