about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--early-init.el3
-rw-r--r--init.el10
2 files changed, 10 insertions, 3 deletions
diff --git a/early-init.el b/early-init.el index 53059cd..68038a5 100644 --- a/early-init.el +++ b/early-init.el
@@ -97,7 +97,8 @@
97 (expand-file-name "~/.local/bin") 97 (expand-file-name "~/.local/bin")
98 (expand-file-name "~/usr/bin") 98 (expand-file-name "~/usr/bin")
99 (expand-file-name "~/cmd") 99 (expand-file-name "~/cmd")
100 (expand-file-name "~/mingw64/bin"))) 100 (expand-file-name "~/mingw64/bin")
101 (expand-file-name "~/clisp-2.49")))
101 (when (file-exists-p path) 102 (when (file-exists-p path)
102 (add-to-list 'exec-path path :append))) 103 (add-to-list 'exec-path path :append)))
103 104
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