[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A more specific/targeted version of macroexpand-all?
From: |
Michael Heerdegen |
Subject: |
Re: A more specific/targeted version of macroexpand-all? |
Date: |
Thu, 09 Jun 2022 12:47:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Okamsn <okamsn@protonmail.com> writes:
> I have been able to explicitly prevent expansion of macros by including
> them in the second argument of `macroexpand-all`, such as in
>
> (macroexpand-all my-code `((cl-block) (cl-return-from) ,@my-macros))
I didn't know that nil-valued bindings work there.
> but that still leaves the possibility of other, unknown macros expanding
> incorrectly.
Why would they expand incorrectly? Not sure I understand what you want.
Michael.