Subject: Re: EVAL-WHEN question (and maybe a bug in clisp/cmucl)
From: Erik Naggum <>
Date: 2000/07/03
Newsgroups: comp.lang.lisp
Message-ID: <>

* Tim Bradshaw <>
| Wrapping it in (eval-when (:load-toplevel) ...) is not enough, because
| the body of the eval-when is processed by the compiler as a toplevel
| form, and since this form says to actually evaluate it I lose.

  This seems _really_ bogus to me.  Once you exclude :compile-toplevel
  and especially :execute from the eval-when situations, the compiler
  should only cause the form to be evaluated/executed at load-time.

  If this is not what you expected, please alter your expectations.