Skip to content

Instantly share code, notes, and snippets.

@lisp-is-the-future
Forked from jteneycke/gist:7947353
Last active September 8, 2018 22:45
Show Gist options
  • Save lisp-is-the-future/95658cfe7228f669e685bf7755bbccc4 to your computer and use it in GitHub Desktop.
Save lisp-is-the-future/95658cfe7228f669e685bf7755bbccc4 to your computer and use it in GitHub Desktop.
How to install and configure Common Lisp for Emacs. (SBCL + Slime + Emacs24)

from: Josh Teneycke for: ubuntu linux OS

In your shell

sudo apt-get install sbcl
curl -O http://beta.quicklisp.org/quicklisp.lisp
sbcl --load quicklisp.lisp

Inside the context of sbcl

(quicklisp-quickstart:install)
(ql:quickload "quicklisp-slime-helper")

Add to .emacs configuration

(load (expand-file-name "~/quicklisp/slime-helper.el"))
;; Replace "sbcl" with the path to your implementation
(setq inferior-lisp-program "/usr/bin/sbcl")

Enjoy your new Common Lisp REPL!

M-x slime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment