summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-04-08 15:48:11 -0500
committerCase Duckworth2021-04-08 15:48:11 -0500
commit13dd1847dc18bc611d6bb10785b711f303ad89fb (patch)
tree08b212b00c776b02e5911de4dc1842141ce03c9d /init.el
parentAdd `acdw/find-emacs-dotfiles' (diff)
downloademacs-13dd1847dc18bc611d6bb10785b711f303ad89fb.tar.gz
emacs-13dd1847dc18bc611d6bb10785b711f303ad89fb.zip
Add `slime'
On Windows, I use CLisp for LISP, so I need to add the path to exec-path there.

I also moved `geiser''s definition to keep fennel and lua together.
Diffstat (limited to 'init.el')
-rw-r--r--init.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/init.el b/init.el index 05a1382..1b4ba12 100644 --- a/init.el +++ b/init.el
@@ -737,14 +737,20 @@ if ripgrep is installed, otherwise `consult-grep'."
737 (setup (:straight eros) 737 (setup (:straight eros)
738 (:hook-into emacs-lisp-mode))) 738 (:hook-into emacs-lisp-mode)))
739 739
740(when-let (lisp-bin (or (executable-find "sbcl")
741 (executable-find "clisp")))
742 (setup (:straight slime)
743 (require 'slime-autoloads)
744 (:option inferior-lisp-program lisp-bin)))
745
746(setup (:straight geiser))
747
740(when (executable-find "fennel") 748(when (executable-find "fennel")
741 (setup (:straight fennel-mode) 749 (setup (:straight fennel-mode)
742 (autoload 'fennel-mode "fennel-mode" nil t) 750 (autoload 'fennel-mode "fennel-mode" nil t)
743 (autoload 'fennel-repl "fennel-mode" nil t) 751 (autoload 'fennel-repl "fennel-mode" nil t)
744 (:option (append auto-mode-alist) '("\\.fnl\\'" . fennel-mode)))) 752 (:option (append auto-mode-alist) '("\\.fnl\\'" . fennel-mode))))
745 753
746(setup (:straight geiser))
747
748(setup (:straight lua-mode) 754(setup (:straight lua-mode)
749 (:option (append auto-mode-alist) '("\\.lua\\'" . lua-mode))) 755 (:option (append auto-mode-alist) '("\\.lua\\'" . lua-mode)))
750 756