summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs/init.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 7f29d3c..521df76 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -924,3 +924,14 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
 
 (setopt view-read-only t)
 
+;; Common lisp development
+
+(use-package sly
+  :if (executable-find "sbcl")
+  :ensure t
+  :commands 'sly
+  :custom ((inferior-lisp-program (executable-find "sbcl"))
+           (common-lisp-hyperspec-root "file:///usr/share/doc/hyperspec/"))
+  :mode ((rx (or ".lisp" ".cl") eos) . common-lisp-mode))
+
+;; (profiler-stop)