Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Emacs + mosml
(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