|
From: | Stefan Monnier |
Subject: | Re: add-hook versus custom-set-variables |
Date: | Thu, 29 Dec 2005 14:12:40 -0500 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>> The evaluation of a form (A B C) can follow the following two paths: >> >> - if it's a macro: >> >> (eval (macrocall A B C)) >> >> - if it's a function >> >> (funcall A (eval B) (eval C)) >> >> Note how the function cannot delay the evaluation of its arguments. > Thanks for the explanation. There's a lot of strange things in > elisp--mostly around compilation and evaluation--that I don't understand > and every little bit helps. Maybe another reading of these sections in > the elisp manual will make more sense now. Actually this difference between macros and functions applies to 99% of all languages. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |