emacs-devel
[Top][All Lists]
Advanced

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

Re: set-text-properties, remove-set-properties, add-text-properties: 1)


From: Kim F. Storm
Subject: Re: set-text-properties, remove-set-properties, add-text-properties: 1) doc string 2) return value
Date: Thu, 29 Dec 2005 12:10:56 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> 2. Wouldn't it be more useful for set-text-properties,
>> remove-set-properties, and add-text-properties to return the modified
>> OBJECT (or nil if no modification occurred)? In case OBJECT is a buffer
>> (or nil), the modified buffer substring could be returned.
>
> Why would that be useful?

Even if it was useful in some cases, it would be extremely wasteful in general.


-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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