[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Why does evaluating a piece of Elisp code seemingly not expand a
Re: [O] Why does evaluating a piece of Elisp code seemingly not expand a macro?
Mon, 18 Jan 2016 21:03:33 +0100
mu4e 0.9.13; emacs 188.8.131.52
On 2016-01-18, at 14:54, Stefan Monnier <address@hidden> wrote:
>> Does it mean that C-M-x is different than loading?
>> Or C-x C-e, for that matter?
> As well.
>> Is this covered by the manual? (If not, it might need correcting.)
> Not really. The basic idea is that macroexpansion can take place
> *anytime* (tho, before the code is actually executed). If you care
> about when expansion takes place you probably have a bug.
Does that mean that it's possible that a function definition contains
Does that mean that `symbol-function' will expand them?
Does that mean that if I define a macro, then a function using that
macro, and then change the definition of the macro, the behavior of the
function is undefined?
Sorry for so many questions, but I really want to understand this.
(Also, when that happens, I might send a patch for the manual.)
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
Re: [O] Why does evaluating a piece of Elisp code seemingly not expand a macro?, Samuel W. Flint, 2016/01/15