mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 08:14:15 +00:00
Updated slime configuration
This commit is contained in:
parent
a95a46cd64
commit
3502012e1c
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue