From 2092b846b4755f085a6d3a1475493333229aab6f Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Fri, 1 Jan 2021 00:00:29 +0000 Subject: [PATCH] set up SLIME and Quicklisp for Common Lisp --- config.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config.org b/config.org index 1e53cd6..f9ce627 100644 --- a/config.org +++ b/config.org @@ -176,6 +176,16 @@ Get =racket-mode= for some Racket-specific things, like searching documentation (use-package racket-mode) #+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 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