From 2d65775ab5dff83ed31de16564bda103976ba2a0 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 11 May 2014 17:44:20 +0200 Subject: Use scheme-mode for scsh scripts --- .emacs.d/init.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.emacs.d/init.org b/.emacs.d/init.org index f14f931..d4b25fe 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -820,6 +820,15 @@ (shr-generic cont))))) #+END_SRC +* Use scheme-mode for scsh interpreted files + + Set the major mode for files interpreted by scsh (for example, by + having ~#!/usr/local/bin/scsh~ at the top) to use =scheme-mode=. + + #+BEGIN_SRC emacs-lisp + (add-to-list 'interpreter-mode-alist '("scsh" . scheme-mode)) + #+END_SRC + * Load custom file I don't really use the Emacs customization interface much, but I -- cgit v1.2.3-54-g00ecf