I don't spend much time meditating on the internals of slime and thought this felt about right... (add-hook 'slime-connected-hook (lambda () (slime-load-system 'foo)))
However, slime doesn't like it and complains: The variable SWANK-IO-PACKAGE::FOO is unbound.
What's the 'right' way to do it?
Thanks for your time and assistance,
Alan