|
From: | Jay Belanger |
Subject: | Re: Odd behavior of `eval-when-compile' |
Date: | Sun, 08 Jul 2007 13:54:34 -0500 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes: ... > Of course: there is no `vara' in the running Emacs: it's only present in the > b.el file which is being compiled but hasn't been loaded yet. ... > (eval-and-compile (defvar vara 2)) > (defvar varb (eval-when-compile (+ 1 vara))) Thanks for the explanation; it makes sense now. Jay
[Prev in Thread] | Current Thread | [Next in Thread] |