X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/4ae858870eb5babef90bf99c865d9d24ad595eee..4cdeb0d0cc3379e55ac5dd194a56dd1bfbbefe93:/emacs diff --git a/emacs b/emacs index 17d7f53..db08611 100644 --- a/emacs +++ b/emacs @@ -537,6 +537,23 @@ ("^pdf$" "." "evince %o") ("^html?$" "." "netscape %o"))) +;;;----- SLIME setup -------------------------------------------------------- + +(let ((stuff '((cmucl ("cmucl")) + (sbcl ("sbcl") :coding-system utf-8-unix) + (clisp ("clisp") :coding-system utf-8-unix)))) + (or (boundp 'slime-lisp-implementations) + (setq slime-lisp-implementations nil)) + (while stuff + (let* ((head (car stuff)) + (found (assq (car head) slime-lisp-implementations))) + (setq stuff (cdr stuff)) + (if found + (rplacd found (cdr head)) + (setq slime-lisp-implementations + (cons head slime-lisp-implementations)))))) +(setq slime-default-lisp 'sbcl) + ;;;----- Shell mode --------------------------------------------------------- ;; --- Make the shell mode aware of my prompt ---