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: Clément Pit-Claudel
Subject: Re: A combination of defmacro, functionp, and quoted lambdas yields different results on consecutive evaluations
Date: Mon, 26 Feb 2018 10:20:03 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 2018-02-26 08:11, Stefan Monnier wrote:
>>> This is not supposed to work: your test.el uses `mmm` before it gets
>>> defined by the subsequent `load`.
>> Uh, really? But the body of with-eval-after-load is (supposed to be)
>> evaluated after the FILE argument is loaded, not before, right?  `mmm'
>> is only used in `with-eval-after-load' in the code above.
> 
> The time of evaluation doesn't matter.  Think of the case where we
> *compile* the file.

Why is that relevant here, given that I'm *not* compiling the file?
(FWIW, I do indeed expect with-eval-after-load to protect its argument from 
compilation, yes.  Is it documented not to?)




reply via email to

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