Support Common Lisp

After a bedazzling demonstration of Emacs + Common Lisp, I needed to download
Sly and `sbcl` and give it a try.
This commit is contained in:
William Carroll 2020-01-22 21:09:44 +00:00
parent 92f5773421
commit 397174ebd2

View file

@ -26,6 +26,17 @@
racket-mode-hook) racket-mode-hook)
"List of LISP modes.") "List of LISP modes.")
(use-package sly
:config
(setq inferior-lisp-program "sbcl")
(general-define-key
:keymaps 'sly-mode-map
:states '(normal)
:prefix "<SPC>"
"x" #'sly-eval-defun
"X" #'sly-eval-buffer
"d" #'sly-describe-symbol))
(use-package rainbow-delimiters (use-package rainbow-delimiters
:config :config
(general-add-hook wpc/lisp-mode-hooks #'rainbow-delimiters-mode)) (general-add-hook wpc/lisp-mode-hooks #'rainbow-delimiters-mode))