set up SLIME and Quicklisp for Common Lisp

This commit is contained in:
Camden Dixie O'Brien 2021-01-01 00:00:29 +00:00
parent 2d25670b3e
commit 2092b846b4

View File

@ -176,6 +176,16 @@ Get =racket-mode= for some Racket-specific things, like searching documentation
(use-package racket-mode) (use-package racket-mode)
#+end_src #+end_src
Use SLIME and Quicklisp for Common Lisp (SBCL), with a convenient
binding for =slime-selector=
#+begin_src emacs-lisp
(use-package slime)
(setq inferior-lisp-program "sbcl")
(global-set-key (kbd "C-c s") 'slime-selector)
(load (expand-file-name "~/quicklisp/slime-helper.el"))
#+end_src
=paredit= is generally very useful for balancing parenthesis so we =paredit= is generally very useful for balancing parenthesis so we
want that turned on for all the lisps. Additionally, it's nice to have want that turned on for all the lisps. Additionally, it's nice to have
an entire expression highlighted when the cursor is on one of its an entire expression highlighted when the cursor is on one of its