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) do (when (slime-eval `(cl:if (cl:find-package ,package) t)) (slime-repl-set-package package) (return)))) (add-hook 'slime-connected-hook 'slime-repl-setup-initial-packages t)
Regards, jingtao.
With best regards,jingtao.
On Fri, Mar 22, 2013 at 2:19 PM, z_axis z_axis@163.com wrote:
Now i have to call (in-package :foo) after slime-connect ?
Sincerely!
______________________________**_________________ slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/**mailman/listinfo/slime-develhttp://common-lisp.net/mailman/listinfo/slime-devel