diff options
| author | Mattias EngdegÄrd | 2024-05-08 12:13:48 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2024-05-08 16:38:40 +0200 |
| commit | de5a89254cb8645143e9f4e51a1727a7237109e8 (patch) | |
| tree | 7d34e8eb4e704245f54de7c42e8859c80c215562 /java | |
| parent | b82a003544c607b5c54bab13870d52b53e70aeb8 (diff) | |
| download | emacs-de5a89254cb8645143e9f4e51a1727a7237109e8.tar.gz emacs-de5a89254cb8645143e9f4e51a1727a7237109e8.zip | |
Don't mutate strings in cl-substitute
This fixes cl-substitute, cl-substitute-if, cl-substitute-if-not,
cl-nsubstitute, cl-nsubstitute-if and cl-nsubstitute-if-not,
when called with a string sequence argument.
* lisp/emacs-lisp/cl-seq.el (cl-nsubstitute):
Avoid running in O(n^2) time and make future-safe.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions