diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-02-09 12:02:25 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-02-09 12:02:25 -0500 |
commit | 04fb1664a8ee3c20ed8a231ce5c9bb05a145f8e0 (patch) | |
tree | dc6c023232531ae7fb1cc8eabe91c2fc2fcc47b3 /lisp/calc | |
parent | 3c53d28ae19232ae817565453342edf8124c053a (diff) | |
download | emacs-04fb1664a8ee3c20ed8a231ce5c9bb05a145f8e0.tar.gz emacs-04fb1664a8ee3c20ed8a231ce5c9bb05a145f8e0.tar.bz2 emacs-04fb1664a8ee3c20ed8a231ce5c9bb05a145f8e0.zip |
* lisp/emacs-lisp/macroexp.el: Break cycle with bytecomp/byte-opt
The recent change in macroexp triggered a cyclic dependency error
during eager macroexpansion when neither `bytecomp` nor `byte-opt` had
been byte-compiled yet. This fixes it by moving the offending
function to macroexp.el.
* lisp/emacs-lisp/macroexp.el (macroexp--unfold-lambda): Move from
byte-opt.el and rename.
(macroexp--expand-all): Use it.
* lisp/emacs-lisp/byte-opt.el (byte-compile-unfold-lambda): Move to
macroexp.el.
(byte-compile-inline-expand, byte-optimize-form-code-walker):
* lisp/emacs-lisp/bytecomp.el (byte-compile-form):
Use `macroexp--unfold-lambda` instead.
Diffstat (limited to 'lisp/calc')
0 files changed, 0 insertions, 0 deletions