Skip to content

Prelude Common Lisp

Note

This module builds on top of the shared Lisp Base module.

lisp-mode

Not much to say here, as lisp-mode is configured in the "Lisp Base" module.

SLIME

This module bundles SLIME, a popular interactive programming environment for Common Lisp, and enables many of its essential features.

SLIME supports many Common Lisp implementations. Prelude defaults to SBCL on all platforms. You can change this via slime-default-lisp, or use M-- M-x slime to pick an implementation interactively.

You can start SLIME with M-x slime.

Alternatives

If you prefer Sly, a modernized fork of SLIME with features like stickers (non-disruptive value tracing), multiple REPLs, flex completion out of the box, and a more polished inspector, you can install it in your personal config instead. Note that SLIME and Sly conflict with each other -- use one or the other, not both.

To switch, drop something like this into a file under ~/.emacs.d/personal/ (and remove prelude-common-lisp from your prelude-modules.el, or skip loading SLIME some other way):

(use-package sly
  :ensure t
  :config
  (setq inferior-lisp-program "sbcl"))

Then start it with M-x sly.