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