diff options
| author | Stefan Monnier | 2025-10-18 17:45:07 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2025-10-18 17:45:07 -0400 |
| commit | 4ec24ce2a13661e3cd721b795f36bf76e0428abe (patch) | |
| tree | 14898c76b976cff249762d8472512bd98b53c8f2 /src/bytecode.c | |
| parent | 48357dc612ffe2d6b286e3f99a0e7e9c80cfcbb8 (diff) | |
| download | emacs-4ec24ce2a13661e3cd721b795f36bf76e0428abe.tar.gz emacs-4ec24ce2a13661e3cd721b795f36bf76e0428abe.zip | |
(eval-and-compile): Preserve the surrounding lexical context
Implement a better fix for bug#79634.
* lisp/emacs-lisp/byte-run.el (eval-and-compile):
* lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment)
<eval-and-compile>: Preserve the surrounding lexical context (the part
available during macroexpansion, i.e. which vars are dynbound).
* lisp/emacs-lisp/rx.el (<pcase> rx): Remove workaround.
* test/lisp/emacs-lisp/macroexp-tests.el
(macroexp--dynbound-eval-and-compile): New test.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions