dotfiles/emacs/.emacs.d/init/oni-scheme-init.org

16 lines
402 B
Org Mode
Raw Normal View History

2016-11-05 21:52:46 +01:00
#+TITLE: Scheme config
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