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

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

Re: How to remove a property from an overlay?


From: Marcin Borkowski
Subject: Re: How to remove a property from an overlay?
Date: Sat, 31 Jul 2021 10:45:31 +0200
User-agent: mu4e 1.1.0; emacs 28.0.50

On 2021-07-30, at 22:02, Stefan Monnier via Users list for the GNU Emacs text 
editor <help-gnu-emacs@gnu.org> wrote:

> Marcin Borkowski [2021-07-30 20:31:35] wrote:
>> is there any way I can remove property `prop' from overlay `ovl' besides
>> (overlay-put ovl 'prop nil)
>> which does not really remove it, only sets it to nil?
>
> The recommendation is to try and make sure you always give semantics to
> those properties such that nil behaves the same as the absence of
> the property.

Could that be put in the manual?

-- 
Marcin Borkowski
http://mbork.pl



reply via email to

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