diff options
-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 |