diff options
author | Tom Willemse | 2020-01-06 20:09:13 -0800 |
---|---|---|
committer | Tom Willemse | 2020-01-06 20:09:13 -0800 |
commit | 0115885ae590135aee236839401b3a981772dae0 (patch) | |
tree | 2c7e0ac11cbbae149d371cb16bcbc078f9fc63b7 /oni-scheme.el | |
parent | 39bbfffbd888f28abdb770cfa08308860f4614c8 (diff) | |
download | emacs-config-0115885ae590135aee236839401b3a981772dae0.tar.gz emacs-config-0115885ae590135aee236839401b3a981772dae0.zip |
Automatically load scheme-mode for scsh files
When the interpreter contains scsh, load ‘scheme-mode’.
Diffstat (limited to 'oni-scheme.el')
-rw-r--r-- | oni-scheme.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oni-scheme.el b/oni-scheme.el index 817bab9..a53934f 100644 --- a/oni-scheme.el +++ b/oni-scheme.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2019.1210.231332 +;; Version: 2020.0106.200514 ;; Package-Requires: (oni-company oni-paredit oni-fci rainbow-delimiters) ;; This program is free software; you can redistribute it and/or modify @@ -37,6 +37,7 @@ (add-hook 'scheme-mode-hook 'rainbow-delimiters-mode) (add-hook 'scheme-mode-hook 'oni-scheme--auto-fill-mode) +;;;###autoload (add-to-list 'interpreter-mode-alist '("scsh" . scheme-mode)) ;;;###autoload(with-eval-after-load 'scheme (require 'oni-scheme)) |