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
;;; haskell-org.el --- Literate Haskell with Org Mode Documentation | |
;; Copyright (C) 2003, 2007 Free Software Foundation, Inc. | |
;; Authors: Dave Love <[email protected]> | |
;; Keywords: languages, wp | |
;; Created: Sept 2003 | |
;; $Revision: 1.5 $ | |
;; URL: http://www.loveshack.ukfsn.org/emacs | |
;; Modified by Reetinder Sidhu on oct. 30, 2012 for org-mode support. |
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
(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)))) |