Install SLIME from MELPA

This commit is contained in:
Bozhidar Batsov 2014-12-07 11:36:15 +02:00
parent 72d11bdddd
commit e13be254bb

View file

@ -34,19 +34,14 @@
(require 'prelude-lisp) (require 'prelude-lisp)
(prelude-require-package 'slime)
;; the SBCL configuration file is in Common Lisp ;; the SBCL configuration file is in Common Lisp
(add-to-list 'auto-mode-alist '("\\.sbclrc\\'" . lisp-mode)) (add-to-list 'auto-mode-alist '("\\.sbclrc\\'" . lisp-mode))
;; Open files with .cl extension in lisp-mode ;; Open files with .cl extension in lisp-mode
(add-to-list 'auto-mode-alist '("\\.cl\\'" . 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 ;; a list of alternative Common Lisp implementations that can be
;; used with SLIME. Note that their presence render ;; used with SLIME. Note that their presence render
;; inferior-lisp-program useless. This variable holds a list of ;; inferior-lisp-program useless. This variable holds a list of