1
0
Fork 0

Add oni-common-lisp, delete oni-lisp-mode

This commit is contained in:
Tom Willemse 2019-02-26 00:58:23 -08:00
parent f313ba9c6a
commit ebb18729f2

View file

@ -1,11 +1,11 @@
;;; oni-lisp-mode.el --- Lisp-mode configuration -*- lexical-binding: t; -*-
;;; oni-common-lisp.el --- Common Lisp configuration -*- lexical-binding: t; -*-
;; Copyright (C) 2017 Tom Willemse
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 20190213225457
;; Package-Requires: (oni-company oni-flycheck paredit rainbow-delimiters)
;; Version: 20190226005649
;; Package-Requires: (oni-company oni-flycheck paredit rainbow-delimiters slime slime-company)
;; 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
@ -22,7 +22,7 @@
;;; Commentary:
;; Configuration for `lisp-mode'. Enables the following minor modes:
;; Configuration for Common Lisp programming. Enables the following minor modes:
;; - `company-mode': For auto-completion.
;; - `flycheck-mode': For syntax checking.
@ -31,12 +31,22 @@
;;; 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))
(add-hook 'lisp-mode-hook 'paredit-mode)
(add-hook 'lisp-mode-hook 'rainbow-delimiters-mode)
(add-hook 'lisp-mode-hook 'flycheck-mode)
(add-hook 'lisp-mode-hook 'company-mode)
;;;###autoload (with-eval-after-load 'lisp-mode (require 'oni-lisp-mode))
;;;###autoload (with-eval-after-load 'lisp-mode (require 'oni-common-lisp))
(provide 'oni-lisp-mode)
;;; oni-lisp-mode.el ends here
(provide 'oni-common-lisp)
;;; oni-common-lisp.el ends here