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
|
2016-11-05 21:53:19 +01:00
|
|
|
|
|
|
|
Enable rainbow delimiters mode.
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
|
|
(add-hook 'scheme-mode-hook 'rainbow-delimiters-mode)
|
|
|
|
#+END_SRC
|