Fix compiler macro expansion bug
* lisp/emacs-lisp/macroexp.el (macroexp--expand-all): When a compiler-macro handler is re-invoked (after macro-expanding arguments), actually use the result instead of pointlessly dropping it on the floor.
This commit is contained in:
parent
2c2ecb46b0
commit
68fb06f47f
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ Assumes the caller has bound `macroexpand-all-environment'."
|
|||
(setq form (macroexp--compiler-macro handler newform))
|
||||
(if (eq newform form)
|
||||
newform
|
||||
(macroexp--expand-all newform)))
|
||||
(macroexp--expand-all form)))
|
||||
(macroexp--expand-all newform))))))
|
||||
(_ form))))
|
||||
(pop byte-compile-form-stack)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue