From: Pekka P. Pirinen
Subject: Re: EVAL-WHEN problem (probably)
Date: 
Message-ID: <ix4tf7qvgd.fsf@gaspode.cam.harlequin.co.uk>
> Is there a way to wrap an appropriate eval-when somewhere to get this
> to do the Right Thing, i.e. to get the side-effect of a compiled
> macroexpansion to happen when a fasl file is laoded?

EVAL-WHEN is only useful on the top level of a file.  To compute
things at load time, one could use LOAD-TIME-VALUE, but that's a poor
match for your current problem.

I think your best solution is just to add this to some source file:
  (setf *foo-vector* #.*foo-vector*)
making sure it's compiled at the end of your compilation.
-- 
Pekka P. Pirinen       Harlequin Limited
It's your private mailbox, and junk mailers are abusing it.  If you
don't complain, they'll do it again.  <URL:http://www.vix.com/spam/>