Open ashok-khanna opened 2 years ago
Regarding your last question, you can get a list of buffers where sly-mode is enabled using
(cl-remove-if-not #'my/sly-buffer-p (buffer-list))
(defun my/sly-buffer-p (buf)
(with-current-buffer buf
(bound-and-true-p sly-mode)))
so something like
(loop for buf in (buffer-list)
when (my/sly-buffer-p buf)
do (kill-buffer buf))
should be what you are looking for
Thanks for that!
@ashok-khanna your corrections would be fine in a small PR. I'm sorry I don't have much time to maintain SLY right now.
Partially addressed in #505.
Thanks for the great manual / package.
I noticed typo in bold:
"In this section, a technique to load Slynk faster on South Bank Common Lisp (SBCL) is presented. Similar setups should also work for other Lisp implementations."
Also suggest rewriting the following
"M-x sly-disconnect Disconnect all connections."
to
"M-x sly-disconnect Disconnect the connection supplied by the user at the prompt."
Or something better - it was a bit confusing because it doesn't disconnect all connections as far as I can tell.
Finally, is there a way to kill all SLY buffers in Emacs? I wrote the below, but it is a bit of a hack: