emacs-devel
[Top][All Lists]
Advanced

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

Re: `add-face'


From: Chong Yidong
Subject: Re: `add-face'
Date: Sun, 09 Sep 2012 14:47:28 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Lars Ingebrigtsen <address@hidden> writes:

> My current implementation just alters add_properties from
>
>           /* I's property has a different value -- change it */
>           Fsetcar (this_cdr, val1);
>
> to
>             
>           /* I's property has a different value -- change it */
>           if (replace)
>             Fsetcar (this_cdr, val1);
>           else
>             Fsetcar (this_cdr, Fcons (val1, Fcar (this_cdr)));
>
> so it's kinda trivial, and entails no searching for properties.

Could you please post the proposed docstring for the amended
add-text-properties?  Thanks.



reply via email to

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