(cough) Re: Question : EL::EVAL-WHEN-COMPILE - when to eval
Sean Champ <[email protected]> Sat, 29 Jul 2006 21:58:45 -0700
| Newsgroups | gmane.lisp.clocc.devel |
|---|---|
| Message-ID | <[email protected]> |
Sean Champ wrote: > I would think that it would be in the making of a correct match onto the > Emacs behaviors, to execute the BODY code only during :COMPILE-TOPLEVEL. > If I'd be wrong, there, then I stand to be corrected. I can correct myself, there. I'd expect that the following would be a right form for the macro, also including the :EXECUTE context : > (defmacro el::eval-when-compile (&rest body) > `(eval-when (:compile-toplevel :execute) ,@body)) This was in regards to a form in CLOCC src/cllib/elisp.lisp -- sean ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV