aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/init.el8
-rw-r--r--emacs/.emacs.d/init/oni-slime-init.el38
2 files changed, 39 insertions, 7 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 34a3fbc..fd21cbe 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -233,13 +233,6 @@ ORIG-FUN is the function being wrapped, ARGS are the arguments specified"
;; (propertize (concat " " (char-to-string #xf233))
;; 'face '(:family "Font Awesome" :height 0.75))))
-(with-eval-after-load '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)))
-
(with-eval-after-load 'align (load "oni-align"))
(with-eval-after-load 'cc-mode (load "oni-cpp-init"))
(with-eval-after-load 'circe (load "oni-circe-init"))
@@ -266,6 +259,7 @@ ORIG-FUN is the function being wrapped, ARGS are the arguments specified"
(with-eval-after-load 'sh-mode (load "oni-sh-mode-init"))
(with-eval-after-load 'shackle (load "oni-shackle-init"))
(with-eval-after-load 'slack (load "oni-slack-init"))
+(with-eval-after-load 'slime (load "oni-slime-init"))
(with-eval-after-load 'yasnippet (load "oni-yasnippet-init"))
(add-hook 'ielm-mode-hook 'paredit-mode)
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