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

Elliott Slaughter elliottslaughter at gmail.com
Sat Apr 9 23:54:53 UTC 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20110409/10432c0a/attachment.html>


More information about the slime-devel mailing list