Add scsh as a known interpreter for scheme
This allows Emacs to enable “scheme-mode” automatically for files starting with something like: #!/usr/local/bin/scsh -s
This commit is contained in:
parent
f97c9d117c
commit
c7935980dc
1 changed files with 6 additions and 0 deletions
|
@ -203,8 +203,14 @@ This is currently the data directory under the
|
||||||
|
|
||||||
;;;;; Scheme mode:
|
;;;;; Scheme mode:
|
||||||
|
|
||||||
|
;; Enable paredit-mode.
|
||||||
|
|
||||||
(add-hook 'scheme-mode-hook 'paredit-mode)
|
(add-hook 'scheme-mode-hook 'paredit-mode)
|
||||||
|
|
||||||
|
;; Add scsh to the list of known interpreters for scheme mode.
|
||||||
|
|
||||||
|
(add-to-list 'interpreter-mode-alist '("scsh" . scheme-mode))
|
||||||
|
|
||||||
;;;;; Inferior Emacs Lisp mode:
|
;;;;; Inferior Emacs Lisp mode:
|
||||||
|
|
||||||
(add-hook 'inferior-emacs-lisp-mode-hook 'paredit-mode)
|
(add-hook 'inferior-emacs-lisp-mode-hook 'paredit-mode)
|
||||||
|
|
Loading…
Reference in a new issue