diff options
author | Tom Willemse | 2018-09-11 22:29:17 -0700 |
---|---|---|
committer | Tom Willemse | 2018-09-11 22:29:17 -0700 |
commit | 12215119dce3f4525ff763f52485898ac309490c (patch) | |
tree | fec97bc968f5829d414d949072b249ca3fcb4191 /emacs/.emacs.d | |
parent | 07b6aaf85f5b259183e757d19ed44683bddf21d4 (diff) | |
download | new-dotfiles-12215119dce3f4525ff763f52485898ac309490c.tar.gz new-dotfiles-12215119dce3f4525ff763f52485898ac309490c.zip |
Move slime config to separate file
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r-- | emacs/.emacs.d/init.el | 8 | ||||
-rw-r--r-- | emacs/.emacs.d/init/oni-slime-init.el | 38 |
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 |