diff options
author | noa | 2024-11-11 12:08:57 +0800 |
---|---|---|
committer | noa | 2024-11-11 12:08:57 +0800 |
commit | cf9cb78d916935895f6d79a1f789a442f4e7303d (patch) | |
tree | a2a4bcea8429ea80c55ef6cbeda1dc0fb35167f3 | |
parent | 56a0281105585123c944ced730452ab21a94cbd2 (diff) |
Set up a simple sly configuration for common lisp
-rw-r--r-- | emacs/init.el | 11 |
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) |