summaryrefslogtreecommitdiffstats
path: root/.emacs.d/init.org
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.org')
-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