summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-05-11 17:44:20 +0200
committerGravatar Tom Willemse2014-05-11 17:44:20 +0200
commit2d65775ab5dff83ed31de16564bda103976ba2a0 (patch)
treeaf3a39d5cf542f3cf79065289567dab3636bbd81
parent1ddb5dc327e9203f7d889fb0605e455dc075749e (diff)
downloademacs-2d65775ab5dff83ed31de16564bda103976ba2a0.tar.gz
emacs-2d65775ab5dff83ed31de16564bda103976ba2a0.zip
Use scheme-mode for scsh scripts
-rw-r--r--.emacs.d/init.org9
1 files changed, 9 insertions, 0 deletions
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