From e08c19b54fe61fe787d2129cc97d469e0d36962a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 11 Jun 2013 21:31:35 +0100 Subject: Emacs: setup slime with the quicklisp-slime-helper --- emacs/init.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/emacs/init.el b/emacs/init.el index 001dbb64..330ad5a0 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -926,10 +926,14 @@ Also returns nil if pid is nil." :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) -- cgit 1.4.1