aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorStefan Monnier2025-10-18 17:45:07 -0400
committerStefan Monnier2025-10-18 17:45:07 -0400
commit4ec24ce2a13661e3cd721b795f36bf76e0428abe (patch)
tree14898c76b976cff249762d8472512bd98b53c8f2 /src/bytecode.c
parent48357dc612ffe2d6b286e3f99a0e7e9c80cfcbb8 (diff)
downloademacs-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