From 41009efecc51fab54fc0f2ca379a12769c3008e8 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 9 Apr 2021 12:50:11 -0500 Subject: Load clisp for slime --- init.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'init.el') diff --git a/init.el b/init.el index 05a1382..1eae7e0 100644 --- a/init.el +++ b/init.el @@ -737,13 +737,20 @@ if ripgrep is installed, otherwise `consult-grep'." (setup (:straight eros) (:hook-into emacs-lisp-mode))) +(setup (:straight geiser)) + +(when-let (lisp-bin (or (executable-find "clisp") + (executable-find "sbcl"))) + (setup (:straight slime) + (require 'slime-autoloads) + (:option inferior-lisp-program lisp-bin))) + (when (executable-find "fennel") (setup (:straight fennel-mode) (autoload 'fennel-mode "fennel-mode" nil t) (autoload 'fennel-repl "fennel-mode" nil t) (:option (append auto-mode-alist) '("\\.fnl\\'" . fennel-mode)))) -(setup (:straight geiser)) (setup (:straight lua-mode) (:option (append auto-mode-alist) '("\\.lua\\'" . lua-mode))) -- cgit 1.4.1-21-gabe81