21 lines
525 B
Org Mode
21 lines
525 B
Org Mode
#+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
|
|
|
|
Enable rainbow delimiters mode.
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
(add-hook 'scheme-mode-hook 'rainbow-delimiters-mode)
|
|
#+END_SRC
|