Browse Source

Merge pull request #587 from swhalen/two-quicklisp-dirs

Look for Quicklisp in ~/quicklisp and ~/.quicklisp
custom
Bozhidar Batsov 12 years ago
parent
commit
5445a40453
  1. 8
      modules/prelude-common-lisp.el

8
modules/prelude-common-lisp.el

@ -41,9 +41,11 @@
(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 ;; Common Lisp support depends on SLIME being installed with Quicklisp
(if (file-exists-p (expand-file-name "~/quicklisp/slime-helper.el"))
(load (expand-file-name "~/quicklisp/slime-helper.el"))
(message "%s" "SLIME is not installed. Use Quicklisp to install it."))
(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

Loading…
Cancel
Save