Created
September 4, 2012 12:35
-
-
Save Munksgaard/3620796 to your computer and use it in GitHub Desktop.
Emacs + mosml
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
(require 'sml-mode) | |
(setq auto-mode-alist (cons '("\\.sml$" . sml-mode) auto-mode-alist)) | |
(setq auto-mode-alist (cons '("\\.sig$" . sml-mode) auto-mode-alist)) | |
(add-hook 'sml-mode-hook | |
(lambda() ;;; *** SML-mode Customization | |
(setq sml-program-name "mosml") | |
(setq sml-default-arg "-P full") | |
(setq sml-indent-level 4) ; conserve on horizontal space | |
(setq words-include-escape t) ; \ loses word break status | |
(setq indent-tabs-mode nil))) ; never ever indent with tabs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment