Emacs: setup slime with the quicklisp-slime-helper
Alan Pearce alan@alanpearce.co.uk
Tue, 11 Jun 2013 21:31:35 +0100
1 files changed, 6 insertions(+), 2 deletions(-)
jump to
M emacs/init.el → emacs/init.el
@@ -926,10 +926,14 @@ :defer t :config (use-package quack)) (use-package slime + :ensure t :commands (slime) :config (progn - (setq inferior-lisp-program (executable-find "sbcl")) - (slime-setup))) + (let ((ql-slime-helper (expand-file-name "~/quicklisp/slime-helper.el"))) + (if (file-exists-p ql-slime-helper) + (load ql-slime-helper)) + (slime-setup)) + (setq inferior-lisp-program (executable-find "sbcl")))) (defun imenu-elisp-sections () (setq imenu-prev-index-position-function nil)