Load clisp for slime
This commit is contained in:
parent
bac79657a5
commit
41009efecc
|
@ -96,7 +96,9 @@
|
||||||
(expand-file-name "~/.local/bin")
|
(expand-file-name "~/.local/bin")
|
||||||
(expand-file-name "~/usr/bin")
|
(expand-file-name "~/usr/bin")
|
||||||
(expand-file-name "~/cmd")
|
(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)
|
(when (file-exists-p path)
|
||||||
(add-to-list 'exec-path path :append)))
|
(add-to-list 'exec-path path :append)))
|
||||||
|
|
||||||
|
|
9
init.el
9
init.el
|
@ -737,13 +737,20 @@ if ripgrep is installed, otherwise `consult-grep'."
|
||||||
(setup (:straight eros)
|
(setup (:straight eros)
|
||||||
(:hook-into emacs-lisp-mode)))
|
(: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")
|
(when (executable-find "fennel")
|
||||||
(setup (:straight fennel-mode)
|
(setup (:straight fennel-mode)
|
||||||
(autoload 'fennel-mode "fennel-mode" nil t)
|
(autoload 'fennel-mode "fennel-mode" nil t)
|
||||||
(autoload 'fennel-repl "fennel-mode" nil t)
|
(autoload 'fennel-repl "fennel-mode" nil t)
|
||||||
(:option (append auto-mode-alist) '("\\.fnl\\'" . fennel-mode))))
|
(:option (append auto-mode-alist) '("\\.fnl\\'" . fennel-mode))))
|
||||||
|
|
||||||
(setup (:straight geiser))
|
|
||||||
|
|
||||||
(setup (:straight lua-mode)
|
(setup (:straight lua-mode)
|
||||||
(:option (append auto-mode-alist) '("\\.lua\\'" . lua-mode)))
|
(:option (append auto-mode-alist) '("\\.lua\\'" . lua-mode)))
|
||||||
|
|
Loading…
Reference in New Issue