help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Why does evaluating a piece of Elisp code seemingly not expand a mac


From: Stefan Monnier
Subject: Re: Why does evaluating a piece of Elisp code seemingly not expand a macro?
Date: Mon, 18 Jan 2016 15:19:36 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> Does that mean that it's possible that a function definition contains
> unexpanded macros?

Yes.

> Does that mean that `symbol-function' will expand them?

AFAIK it currently never happens there, but if your code relies on this
property it's probably got a bug.

> 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?

Yes.


        Stefan



reply via email to

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