aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init/oni-slime-init.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2018-09-11 22:29:17 -0700
committerGravatar Tom Willemse2018-09-11 22:29:17 -0700
commit12215119dce3f4525ff763f52485898ac309490c (patch)
treefec97bc968f5829d414d949072b249ca3fcb4191 /emacs/.emacs.d/init/oni-slime-init.el
parent07b6aaf85f5b259183e757d19ed44683bddf21d4 (diff)
downloadnew-dotfiles-12215119dce3f4525ff763f52485898ac309490c.tar.gz
new-dotfiles-12215119dce3f4525ff763f52485898ac309490c.zip
Move slime config to separate file
Diffstat (limited to 'emacs/.emacs.d/init/oni-slime-init.el')
-rw-r--r--emacs/.emacs.d/init/oni-slime-init.el38
1 files changed, 38 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/oni-slime-init.el b/emacs/.emacs.d/init/oni-slime-init.el
new file mode 100644
index 0000000..e789705
--- /dev/null
+++ b/emacs/.emacs.d/init/oni-slime-init.el
@@ -0,0 +1,38 @@
+;;; oni-slime-init.el --- Slime configuration -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2018 Tom Willemse
+
+;; Author: Tom Willemse <tom@ryuslash.org>
+;; Keywords: local
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; Configuration for Slime.
+
+;;; Code:
+
+(require 'slime)
+
+(setq slime-lisp-implementations
+ '((sbcl ("sbcl" "--noinform") :coding-system utf-8-unix)
+ (clisp ("clisp") :coding-system utf-8-unix)))
+
+(setq slime-default-lisp 'sbcl)
+
+(slime-setup '(slime-fancy slime-company))
+
+(provide 'oni-slime-init)
+;;; oni-slime-init.el ends here