emacs-devel
[Top][All Lists]
Advanced

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

Re: `add-face'


From: Stefan Monnier
Subject: Re: `add-face'
Date: Mon, 10 Sep 2012 08:57:52 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

> This is too vague.  What does "add the text properties" mean?  If the
> current value of a property is nil, and the argument to
> add-text-properties specifies a value `foo', does the new value become
> `foo' or `(foo)'?  If the current value is `1', does the new value
> become `(foo 1)' or something else?
> And, specifically for face properties, what if the current value is a
> list specifying an anonymous face, like `(:foreground "black")'?

Yup, it's much better to provide a dedicated add-face-text-property.


        Stefan



reply via email to

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