[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Saving match data
From: |
Stefan Monnier |
Subject: |
Re: Saving match data |
Date: |
Sat, 17 Jun 2017 09:53:05 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
> + (when (or (function-get function 'pure)
> + (function-get function 'side-effect-free))
> + (insert "\nThis function does not change the match data."))
Wouldn't it be more useful to say it doesn't have side-effects (which
would obviously imply it doesn't change the match-data, along with all
other global state)?
Stefan