Created
May 16, 2014 13:50
-
-
Save ganmacs/045e8fb4552dd2e0c898 to your computer and use it in GitHub Desktop.
sheme mode in emacs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(autoload 'scheme-mode "cmuscheme" "Major mode for Scheme." t) | |
(autoload 'run-scheme "cmuscheme" "Run an inferior Scheme process." t) | |
(add-to-list 'process-coding-system-alist '("gosh" utf-8 . utf-8)) | |
(setq scheme-program-name "/usr/local/bin/gosh -i") | |
(defun scheme-other-windows () | |
(interactive) | |
(save-selected-window | |
(select-window (split-window-horizontally)) | |
(run-scheme scheme-program-name))) | |
(define-key global-map "\C-cG" 'scheme-other-windows) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment