[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Macro vs Function
From: |
David Kastrup |
Subject: |
Re: Macro vs Function |
Date: |
Wed, 12 Apr 2006 11:07:48 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Herbert Euler" <address@hidden> writes:
> Hello,
>
> After reading defmacro and eval in eval.c, I conclude that, in
> Emacs Lisp, if I substitute "defmacro" at the beginning of
> definition of a macro with "defun" and quote each argument in the
> call the behavior of code will not be altered. Is this correct?
No. The macro is executed at function definition time, the function
at execution time.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Macro vs Function, Herbert Euler, 2006/04/12
- Re: Macro vs Function,
David Kastrup <=
- Re: Macro vs Function, Herbert Euler, 2006/04/12
- Re: Macro vs Function, David Kastrup, 2006/04/12
- Re: Macro vs Function, Herbert Euler, 2006/04/12
- Re: Macro vs Function, David Kastrup, 2006/04/12
- Re: Macro vs Function, Herbert Euler, 2006/04/12
- Re: Macro vs Function, Andreas Schwab, 2006/04/12
- Re: Macro vs Function, Herbert Euler, 2006/04/12
- Re: Macro vs Function, Herbert Euler, 2006/04/12
- Re: Macro vs Function, David Kastrup, 2006/04/12
- Re: Macro vs Function, Herbert Euler, 2006/04/12