emacs-devel
[Top][All Lists]
Advanced

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

Re: Imports / inclusion of s.el into Emacs


From: Stefan Monnier
Subject: Re: Imports / inclusion of s.el into Emacs
Date: Fri, 01 May 2020 14:57:33 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> Now this point raises an interesting question about save-match-data, are
>> these guidelines available somewhere?
>
> Hmm. I'm not sure. There is this passage in searching.text, though:

Maybe the doc could be improved to clarify that `save-match-data` should
not be used to preserve someone else's match data but rather to protect
your own match data in the rare case where you execute non-trivial code
between the match and the use of the match-data.


        Stefan




reply via email to

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