Hi,
slime-quit-lisp gets an error in slime-connection when quitting from a slime-repl buffer associated with a connection other than the default.
To reproduce:
(1) make one slime connection,
(2) make another slime connection,
(3) switch to the first connection's slime-repl buffer,
(4) use ,q<RET>.
The error isn't terribly serious, but it leaves *inferior-lisp* buffers behind, which can be annoying in some modes of usage.
I think the trouble is that slime-quit-lisp is killing something too early, but I'm not certain. Whatever the cause, the attached patch seems to make the error go away, at least for my setup.
Thanks, RmK