diff options
author | Tom Willemse | 2016-11-05 21:52:46 +0100 |
---|---|---|
committer | Tom Willemse | 2016-11-05 21:52:46 +0100 |
commit | cf4538d9423b85597ee65d91539627cdd0292cea (patch) | |
tree | dbbc1fc290d3f3eb1783da0e566299fc48d642b4 /emacs/.emacs.d/init | |
parent | 028bbd2a7f13627adcbc8ab2d9861634f58ed1b7 (diff) | |
download | new-dotfiles-cf4538d9423b85597ee65d91539627cdd0292cea.tar.gz new-dotfiles-cf4538d9423b85597ee65d91539627cdd0292cea.zip |
Move scheme config to separate file
Diffstat (limited to 'emacs/.emacs.d/init')
-rw-r--r-- | emacs/.emacs.d/init/oni-scheme-init.org | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/oni-scheme-init.org b/emacs/.emacs.d/init/oni-scheme-init.org new file mode 100644 index 0000000..f9e66e2 --- /dev/null +++ b/emacs/.emacs.d/init/oni-scheme-init.org @@ -0,0 +1,15 @@ +#+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 |