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
* Richard M Kreuter [2008-07-22 16:34+0200] writes:
I think the trouble is that slime-quit-lisp is killing something too early, but I'm not certain.
Yes, the REPL buffer has a buffer-local binding for slime-buffer-connection. Killing the buffer also removes that binding.
Whatever the cause, the attached patch seems to make the error go away, at least for my setup.
Committed.
Helmut.