[slime-devel] bug with image saving while swank is loaded

Nikodemus Siivola nikodemus at random-state.net
Thu Oct 8 21:11:00 UTC 2009


2009/10/8 Attila Lendvai <attila.lendvai at gmail.com>:

> (defun after-saved-image-initialized ()
>  (setf *log-output* nil)
>  (init-log-output))
>
> #+sbcl(pushnew 'after-saved-image-initialized sb-ext:*init-hooks*)

Unless I'm missing something, it seems mildly preferable to instead
use *SAVE-HOOKS* to get the *LOG-OUTPUT* to NIL.

Not that it's a huge difference in practice -- just tidier to clean up
the old stream before saving.

Cheers,

 -- Nikodemus




More information about the slime-devel mailing list