[slime-devel] Can i make slime enter the specified package once slime-connect successfully ?
jingtaozf at gmail.com
Fri Mar 22 07:12:25 UTC 2013
Yes, you can add hook function slime-connected-hook in emacs,for example,
(defun slime-repl-setup-initial-packages ()
(loop for package in '(:ab :project-a :project-b :project-c)
(when (slime-eval `(cl:if (cl:find-package ,package) t))
(add-hook 'slime-connected-hook 'slime-repl-setup-initial-packages t)
With best regards,jingtao.
On Fri, Mar 22, 2013 at 2:19 PM, z_axis <z_axis at 163.com> wrote:
> Now i have to call (in-package :foo) after slime-connect ?
> slime-devel site list
> slime-devel at common-lisp.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the slime-devel