From e13be254bb2dc91d0012ea1e27197290e4187e60 Mon Sep 17 00:00:00 2001
From: Bozhidar Batsov <bozhidar@batsov.com>
Date: Sun, 7 Dec 2014 11:36:15 +0200
Subject: [PATCH] Install SLIME from MELPA

---
 modules/prelude-common-lisp.el | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/modules/prelude-common-lisp.el b/modules/prelude-common-lisp.el
index 7fd4acc..9b0ef6a 100644
--- a/modules/prelude-common-lisp.el
+++ b/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