Updated slime configuration

This commit is contained in:
Benson Chu 2024-09-21 07:45:25 -05:00
parent a95a46cd64
commit 3502012e1c

View file

@ -198,7 +198,7 @@
:commands slime slime-switch-lisps
:hook ((inferior-lisp-mode . inferior-slime-mode))
:config
(setq inferior-lisp-program "/usr/bin/sbcl")
(setq inferior-lisp-program (executable-find "sbcl"))
(defun slime-switch-lisps (lisp)
(interactive (list (completing-read "Which lisp? "
@ -208,7 +208,9 @@
(let ((clhs-file "~/quicklisp/clhs-use-local.el"))
(if (file-exists-p clhs-file)
(load-file clhs-file)
(warn "clhs not installed. Please install"))))
(warn "clhs not installed. Please install")))
(define-key slime-prefix-map (kbd "C-L") #'slime-load-system))
(use-package slime-company
:after slime company