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 11:31:36 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> Why is that relevant here, given that I'm *not* compiling the file?

If the semantics depends on interpretation-vs-compilation, then you're
on your own.  Macroexpansion happens "some time" between the moment the
machine leans that a given sexp is to be interpreted as code and the
moment that code is executed.

> (FWIW, I do indeed expect with-eval-after-load to protect its argument from
> compilation, yes.

Why?

> Is it documented not to?)

Only `eval` does, basically.


        Stefan



reply via email to

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