Hi,
I'm wondering if it's possible to ask slime to load something after a Lisp session has started. I've tried the following
(eval-after-load "slime" '(progn ... (slime-interactive-eval "...")))
But the expression seems to never get run. I've also tried
(progn (slime) (while (not (slime-connected-p)) (sleep-for 0 200)) (slime-interactive-eval "..."))
Which works, but is horrible in other ways.
Is there a good way to do this?
Thanks.
Elliott Slaughter elliottslaughter@gmail.com wrote:
I'm wondering if it's possible to ask slime to load something after a Lisp session has started. I've tried the following
C-h a slime.*hook exhibits a number of hooks that could answer your question, for instance slime-connected-hook or slime-repl-mode-hook.
On Sun, Apr 10, 2011 at 12:17 AM, Didier Verna didier@lrde.epita.fr wrote:
Elliott Slaughter elliottslaughter@gmail.com wrote:
I'm wondering if it's possible to ask slime to load something after a
Lisp
session has started. I've tried the following
C-h a slime.*hook exhibits a number of hooks that could answer your question, for instance slime-connected-hook or slime-repl-mode-hook.
Thank you!