help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A more specific/targeted version of macroexpand-all?


From: Emanuel Berg
Subject: Re: A more specific/targeted version of macroexpand-all?
Date: Thu, 09 Jun 2022 03:36:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Okamsn wrote:

> Is there a better way to do this kind of limited expansion
> than `macroexpand-all`?

`macroexpand'?

> (cl-loop for i being the symbols
>          when (eq 'macro (car-safe (symbol-function i)))
>          collect i)

Cool!

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]