emacs-devel
[Top][All Lists]
Advanced

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

Re: A combination of defmacro, functionp, and quoted lambdas yields diff


From: Stefan Monnier
Subject: Re: A combination of defmacro, functionp, and quoted lambdas yields different results on consecutive evaluations
Date: Mon, 26 Feb 2018 08:13:05 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>          (lambda ()
>            (eval '(let ((out (mmm (lambda ()))))
>                     (message "after-load-alist: %S" out))))))

The use of `eval` means that you *hide* the call to `mmm` until that
point, so in that case indeed the macro can't be expanded earlier.


        Stefan



reply via email to

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