[slime-devel] Unloading SLIME

Stanisław Halik sthalik at test123.ltd.pl
Thu Aug 13 17:57:27 UTC 2009

thus spoke David Neu <david at davidneu.com>:

> I'm writing some emacs helper functions to support this, and here's my
> attempt at unloading SLIME before I try to load the other version:

> (defun unload-slime ()
>  (slime-repl-sayoonara)
>  (dolist (feature features)
>    (when (string-match "slime" (format "%s" feature))
>      (unload-feature feature t))))

> I'm wondering if anyone can let me know if this looks OK, or if they
> have a better idea?

Go through the symbol table and clear symbol cells of everything that
begins with "slime-", then unintern the symbols.

More information about the slime-devel mailing list