Skip to content

Instantly share code, notes, and snippets.

@luismbo
Last active November 5, 2021 10:56
Show Gist options
  • Save luismbo/c3c1e7fc9db62d6816ef917d31795c82 to your computer and use it in GitHub Desktop.
Save luismbo/c3c1e7fc9db62d6816ef917d31795c82 to your computer and use it in GitHub Desktop.
Minimal, self-contained SLIME installation for reproducing bugs
$ cat minimal-config.el
(setq user-emacs-directory "/tmp/temp-emacs-home")
(ignore-errors (delete-directory user-emacs-directory t))
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(package-refresh-contents)
(package-install 'slime)
(setq inferior-lisp-program "sbcl")
(slime)
$ emacs -Q -l minimal-config.el
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment