emacs-orgmode
[Top][All Lists]
Advanced

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

Re: BUG: eval macros not working anymore


From: Michael Dauer
Subject: Re: BUG: eval macros not working anymore
Date: Tue, 25 May 2021 13:55:00 +0200

How do you do this with a #+macro keyword with arguments?

The old implementation checked the string for a "(eval" prefix. 

Nicolas Goaziou <mail@nicolasgoaziou.fr> schrieb am Di., 25. Mai 2021, 11:14:
Hello,

Michael Dauer <mick.dauer@gmail.com> writes:

> at least not compatible with before.
>
> Probably caused by commit 8abdbbee395f284f2262a89187d662eaf40080b1.
>
> originally correct macro ("macroA" . "(eval
> do-something-dynamically-at-macro-expansion)")
>
> How should this be achieved now? (functionp "any-string") is nil

I think you need to write

  ("macroA" . (lambda (&rest _) (do-something-dynamically-at-macro-expansion)))

Regards,
--
Nicolas Goaziou

reply via email to

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