Browse Source

Install SLIME from MELPA

custom
Bozhidar Batsov 11 years ago
parent
commit
e13be254bb
  1. 9
      modules/prelude-common-lisp.el

9
modules/prelude-common-lisp.el

@ -34,19 +34,14 @@
(require 'prelude-lisp)
(prelude-require-package 'slime)
;; the SBCL configuration file is in Common Lisp
(add-to-list 'auto-mode-alist '("\\.sbclrc\\'" . lisp-mode))
;; Open files with .cl extension in lisp-mode
(add-to-list 'auto-mode-alist '("\\.cl\\'" . lisp-mode))
;; Common Lisp support depends on SLIME being installed with Quicklisp
(cond ((file-exists-p (expand-file-name "~/quicklisp/slime-helper.el"))
(load (expand-file-name "~/quicklisp/slime-helper.el")))
((file-exists-p (expand-file-name "~/.quicklisp/slime-helper.el"))
(load (expand-file-name "~/.quicklisp/slime-helper.el")))
(t (message "%s" "SLIME is not installed. Use Quicklisp to install it.")))
;; a list of alternative Common Lisp implementations that can be
;; used with SLIME. Note that their presence render
;; inferior-lisp-program useless. This variable holds a list of

Loading…
Cancel
Save