From 302b2efbbd13930f7d82a7837fe1df22fdc05d70 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Mon, 8 Mar 2021 14:16:13 -0500 Subject: [PATCH] Add slime --- emacs/.emacs.d/config/init-lisp.el | 9 +++++++++ emacs/.emacs.d/init.el | 1 + 2 files changed, 10 insertions(+) create mode 100644 emacs/.emacs.d/config/init-lisp.el diff --git a/emacs/.emacs.d/config/init-lisp.el b/emacs/.emacs.d/config/init-lisp.el new file mode 100644 index 0000000..fbebd3c --- /dev/null +++ b/emacs/.emacs.d/config/init-lisp.el @@ -0,0 +1,9 @@ +;; -*- lexical-binding: t; -*- + +(use-package slime + :commands (slime) + :hook ((lisp-mode . slime-mode)) + :init + (setq inferior-lisp-program (executable-find "sbcl"))) + +(provide 'init-lisp) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index dc75816..c980656 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -78,6 +78,7 @@ (require 'init-help) (require 'init-python) (require 'init-clojure) +(require 'init-lisp) (require 'init-js) (require 'init-yaml) (require 'init-groovy)