diff options
| author | Vibhav Pant | 2023-03-01 15:04:34 +0530 |
|---|---|---|
| committer | Vibhav Pant | 2023-03-06 20:28:20 +0530 |
| commit | 1e5393a57a3bbe3f9167fee59232c2e424afadf2 (patch) | |
| tree | 55eaa6af112b2ddb1978fc729643ff9ba7f1a81b /java | |
| parent | 186643ea8a8e36bf3264b36c4106793cea25c6b3 (diff) | |
| download | emacs-1e5393a57a3bbe3f9167fee59232c2e424afadf2.tar.gz emacs-1e5393a57a3bbe3f9167fee59232c2e424afadf2.zip | |
Don't modify interactive closures destructively (Bug#60974).
* lisp/emacs-lisp/cconv.el (cconv-convert): When form is an
interactive lambda form, don't destructively modify it, as it might be
a constant literal. Instead, create a new list with the relevant
place(s) changed.
* test/lisp/emacs-lisp/cconv-tests.el
(cconv-tests-interactive-form-modify-bug60974): New test.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions