[slime-devel] Re: Problems with swank connection
austin at pettomato.com
Mon Jun 12 19:27:16 UTC 2006
I had the same issue.
You can add a hook, like this:
(add-hook 'slime-connected-hook 'your-hook)
to get the appropriate actions to happen AFTER slime is set up.
Nikodemus Siivola wrote:
> "Henda Carvalho" <henda.for.work at gmail.com> writes:
>> (if (get-buffer "*inferior-lisp*")
>> (kill-buffer "*inferior-lisp*"))
>> (if (not (slime-connected-p))
>> <error, do something> ))
>>The problem is that the function 'slime-connected-p' is returning
>>'nil', meaning that there isn't a swank connection... Can somebody tell me why?
> IIRC the call to SLIME returns almost immediately, but setting the
> connection up takes a while -- so you need to wait for it a bit.
> -- Nikodemus Schemer: "Buddha is small, clean, and serious."
> Lispnik: "Buddha is big, has hairy armpits, and laughs."
> slime-devel site list
> slime-devel at common-lisp.net
More information about the slime-devel