Skip to content

Instantly share code, notes, and snippets.

@reetinder
Created November 6, 2012 06:37
Show Gist options
  • Save reetinder/4023043 to your computer and use it in GitHub Desktop.
Save reetinder/4023043 to your computer and use it in GitHub Desktop.
Invoking haskell-org from .emacs
(setq auto-mode-alist (append (rassq-delete-all 'literate-haskell-mode auto-mode-alist) '(("\\.lhs$" . haskell-org-mode))))
(autoload 'haskell-org-mode "haskell-org" "Major mode for editing literate Haskell Org scripts." t)
(setq auto-mode-alist (append auto-mode-alist '(("\\.l[hg]s$" . literate-haskell-mode))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment