[slime-devel] Semantic of slime-repl-quit command

Harald Hanche-Olsen hanche at math.ntnu.no
Fri May 22 08:25:53 UTC 2009


+ Stas Boukarev <stassats at gmail.com>:

> You should use ,disconnect. Though, currently it disconnects all
> connections,

I've been using this code since November 2005:

(defun slime-close-connection ()
  "Close slime connection, kill the associated buffers."
  (interactive)
  (kill-buffer (slime-output-buffer))
  (slime-net-close (slime-connection)))
(defslime-repl-shortcut slime-repl-close ("close")
  (:handler 'slime-close-connection)
  (:one-liner "Close the current connection."))

Then typing ,close works for me.
It produces some warnings that I just ignore.

- Harald




More information about the slime-devel mailing list