aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r--emacs/.emacs.d/init.org18
1 files changed, 4 insertions, 14 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index b5a17a1..40a513a 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -715,21 +715,11 @@ To start off, first I need to enable lexical binding.
(with-eval-after-load 'elisp-mode (load "oni-emacs-lisp-mode-init"))
#+END_SRC
-** Scheme mode
+ - [[file:init/oni-scheme-init.org][scheme-mode]] :: Scheme is an awesome lisp variant.
- Enable paredit mode.
-
- #+BEGIN_SRC emacs-lisp
- (add-hook 'scheme-mode-hook 'paredit-mode)
- #+END_SRC
-
- Add scsh to the list of known interpreters for scheme mode. This
- way shell-scripts that don't have a file extension but specify scsh
- as the interpreter are opened in scheme mode.
-
- #+BEGIN_SRC emacs-lisp
- (add-to-list 'interpreter-mode-alist '("scsh" . scheme-mode))
- #+END_SRC
+ #+BEGIN_SRC emacs-lisp
+ (with-eval-after-load 'scheme-mode (load "oni-scheme-init"))
+ #+END_SRC
** Inferior Emacs lisp mode (ielm)