all repos — archive/dotfiles @ e08c19b54fe61fe787d2129cc97d469e0d36962a

Superseded by nixfiles

Emacs: setup slime with the quicklisp-slime-helper
Alan Pearce alan@alanpearce.co.uk
Tue, 11 Jun 2013 21:31:35 +0100
commit

e08c19b54fe61fe787d2129cc97d469e0d36962a

parent

cd607bf68816e6322f56c89b11c04aa77058db30

1 files changed, 6 insertions(+), 2 deletions(-)

jump to
M emacs/init.elemacs/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)