&gt; Someone checked in some code in some EasyGUI source file at some point<br>&gt; that does something like:<br>&gt; <br>&gt; (declaim (optimize (safety 3) (debug 3) ...))<br>&gt; <br>&gt; They presumably intended to wrap that in an (EVAL-WHEN (:COMPILE-<br>&gt; TOPLEVEL) ...<br>&gt; <br><br><div>I'm that somebody, and again I apologise.</div><div><br></div><div>However, I suspect that wrapping in eval-when as suggested will still affect files subsequently</div><div>compiled in the same session, at least. Maybe my mental model is wrong, but ... &nbsp;I think</div><div>eval-when controls the time of evaluation but not the scope of any consequential changes.</div><div>So, if a file with that declaration is compiled, the optimizations are set at compile time, and</div><div>persist afterward. Which if true would mean that unfortunately you always have to explicitly&nbsp;reset the optimization settings to their defaults unless you intend these knock-on effects.</div><div><br></div><div>Arthur</div><div><br></div>