|
|
@ -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 |
|
|
|