From cf4538d9423b85597ee65d91539627cdd0292cea Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 5 Nov 2016 21:52:46 +0100 Subject: Move scheme config to separate file --- emacs/.emacs.d/init/oni-scheme-init.org | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 emacs/.emacs.d/init/oni-scheme-init.org (limited to 'emacs/.emacs.d/init/oni-scheme-init.org') 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 -- cgit v1.2.3-54-g00ecf