diff options
author | Case Duckworth | 2023-01-21 12:54:07 -0600 |
---|---|---|
committer | Case Duckworth | 2023-01-21 12:54:07 -0600 |
commit | 30c3e7efc63946a0b9017988686c2621f36d54e2 (patch) | |
tree | 7e88462293eb00aa19024e02140d06f0ff971abc /init.el | |
parent | Configure (commented for now) jabber nick colors (diff) | |
download | emacs-30c3e7efc63946a0b9017988686c2621f36d54e2.tar.gz emacs-30c3e7efc63946a0b9017988686c2621f36d54e2.zip |
Install gauche-mode
This seems like a truly good scheme.
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/init.el b/init.el index 95f3687..de13f13 100644 --- a/init.el +++ b/init.el | |||
@@ -850,3 +850,18 @@ With PREFIX, prompt to change the current dictionary." | |||
850 | 850 | ||
851 | (use-package rec-mode | 851 | (use-package rec-mode |
852 | :ensure t) | 852 | :ensure t) |
853 | |||
854 | (use-package gauche-mode | ||
855 | :vc (:url "https://github.com/duckwork/gauche-mode") | ||
856 | :mode "\\.scm\\'" | ||
857 | :config | ||
858 | (setopt gauche-mode-info-language 'en | ||
859 | scheme-program-name "gosh -i" | ||
860 | scheme-compile-exp-command "%s") | ||
861 | (add-to-list 'scheme-source-modes 'gauche-mode) | ||
862 | (setf (alist-get "\\*scheme\\*" display-buffer-alist nil nil #'equal) | ||
863 | '((display-buffer-reuse-window | ||
864 | display-buffer-pop-up-window) | ||
865 | (inhibit-same-window . t))) | ||
866 | (add-hook 'gauche-mode-hook #'enable-gauche-paredit-mode) | ||
867 | (add-hook 'inferior-scheme-mode-hook #'enable-gauche-paredit-mode)) | ||