[slime-devel] How to load something after Lisp starts

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 "Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay

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. -- Resistance is futile. You will be jazzimilated. Scientific site: http://www.lrde.epita.fr/~didier Music (Jazz) site: http://www.didierverna.com
participants (2)
-
Didier Verna
-
Elliott Slaughter