Load clisp for slime

This commit is contained in:
Case Duckworth 2021-04-09 12:50:11 -05:00
parent bac79657a5
commit 41009efecc
2 changed files with 11 additions and 2 deletions

View File

@ -96,7 +96,9 @@
(expand-file-name "~/.local/bin")
(expand-file-name "~/usr/bin")
(expand-file-name "~/cmd")
(expand-file-name "~/mingw64/bin")))
(expand-file-name "~/mingw64/bin")
(expand-file-name "~/clisp-2.49/"))
exec-path)
(when (file-exists-p path)
(add-to-list 'exec-path path :append)))

View File

@ -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)))