diff options
-rw-r--r-- | emacs/init.el | 8 |
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) |