diff options
author | Grant Shoshin Shangreaux <shoshin@cicadas.surf> | 2023-01-09 21:40:53 -0600 |
---|---|---|
committer | Grant Shoshin Shangreaux <shoshin@cicadas.surf> | 2023-01-09 21:40:53 -0600 |
commit | b73d5be759185100b448b1dcfbbe366712c9f4fe (patch) | |
tree | 23900d9221e4be4312e55e8ea6817518c2d87e60 | |
parent | 3709a38e966771923d0137fca1ba575ad8871687 (diff) |
Add: slime from source and remove sly [common-lisp]
-rw-r--r-- | shoshimacs.el | 13 | ||||
-rw-r--r-- | shoshimacs.org | 17 |
2 files changed, 28 insertions, 2 deletions
diff --git a/shoshimacs.el b/shoshimacs.el index 8630957..c7eba28 100644 --- a/shoshimacs.el +++ b/shoshimacs.el @@ -171,7 +171,18 @@ (setq indent-tabs-mode nil) ;;; Programming -(package-install 'sly) +(defvar slime-repo "https://github.com/slime/slime") +(defvar slime-src-dir "~/src/slime") + +(unless (file-directory-p slime-src-dir) + (shell-command + (format "git clone %s %s" slime-repo slime-src-dir))) + +(add-to-list 'load-path slime-src-dir) + +(require 'slime) + +(setq inferior-lisp-program "sbcl") (package-install 'json-mode) diff --git a/shoshimacs.org b/shoshimacs.org index 52b1fbc..554cc3d 100644 --- a/shoshimacs.org +++ b/shoshimacs.org @@ -676,8 +676,23 @@ from them in various Emacs menus. [[*\[\[info:consult#Top\]\[consult\]\] - Consu :END: ** Languages *** Common Lisp + +The ~slime~ package v2.26.1 in the nongnu repo seems to have an issue with +emacs 28.1 (?) so I'm installing it from source. + #+begin_src emacs-lisp - (package-install 'sly) + (defvar slime-repo "https://github.com/slime/slime") + (defvar slime-src-dir "~/src/slime") + + (unless (file-directory-p slime-src-dir) + (shell-command + (format "git clone %s %s" slime-repo slime-src-dir))) + + (add-to-list 'load-path slime-src-dir) + + (require 'slime) + + (setq inferior-lisp-program "sbcl") #+end_src *** Javascript |