summary refs log tree commit diff
path: root/emacs/init.el
diff options
context:
space:
mode:
authornoa2024-11-11 12:08:57 +0800
committernoa2024-11-11 12:08:57 +0800
commitcf9cb78d916935895f6d79a1f789a442f4e7303d (patch)
treea2a4bcea8429ea80c55ef6cbeda1dc0fb35167f3 /emacs/init.el
parent56a0281105585123c944ced730452ab21a94cbd2 (diff)
Set up a simple sly configuration for common lisp
Diffstat (limited to 'emacs/init.el')
-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)