summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-06-11 21:31:35 +0100
committerAlan Pearce2013-06-11 21:31:35 +0100
commite08c19b54fe61fe787d2129cc97d469e0d36962a (patch)
tree5c4dd5d77867384a7202d0988d33f7de8458141f /emacs
parentcd607bf68816e6322f56c89b11c04aa77058db30 (diff)
downloaddotfiles-e08c19b54fe61fe787d2129cc97d469e0d36962a.tar.lz
dotfiles-e08c19b54fe61fe787d2129cc97d469e0d36962a.tar.zst
dotfiles-e08c19b54fe61fe787d2129cc97d469e0d36962a.zip
Emacs: setup slime with the quicklisp-slime-helper
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 001dbb6..330ad5a 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)