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

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

Re: Printing code made by a macro


From: Eli Zaretskii
Subject: Re: Printing code made by a macro
Date: Sun, 06 Aug 2023 08:04:08 +0300

> Date: Sat, 05 Aug 2023 23:42:50 +0000
> From: Heime <heimeborgia@protonmail.com>
> 
> 
> Is there a proper way to display the code produced by a macro ?  Perhaps call
> a function to print it by passing the macro command ?
> 
> (print-code (mymacro (* 2 3) (* 5 8) ))
> 
> Which would print (+ 3 8)
> 
> How would one write print-code ?

By using macroexpand?



reply via email to

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