Move slime config to separate file
This commit is contained in:
parent
07b6aaf85f
commit
12215119dc
2 changed files with 39 additions and 7 deletions
|
@ -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)
|
||||
|
|
38
emacs/.emacs.d/init/oni-slime-init.el
Normal file
38
emacs/.emacs.d/init/oni-slime-init.el
Normal file
|
@ -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
|
Loading…
Reference in a new issue