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: Stefan Monnier
Subject: Re: How to remove a property from an overlay?
Date: Fri, 30 Jul 2021 16:02:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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.


        Stefan




reply via email to

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