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: Fri, 30 Jul 2021 21:12:26 +0200
User-agent: mu4e 1.1.0; emacs 28.0.50

On 2021-07-30, at 20:48, Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Marcin Borkowski <mbork@mbork.pl>
>> Date: Fri, 30 Jul 2021 20:31:35 +0200
>> 
>> 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?
>
> What's the difference?

When I say `(overlay-properties ovl)', I can see `prop' set to nil.
Before setting it, I couldn't.

-- 
Marcin Borkowski
http://mbork.pl



reply via email to

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