17 lines
697 B
Text
17 lines
697 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.2 2002/09/12 19:37:07 wiz Exp $
|
|
|
|
You will need to add something like the following to your .emacs.el (or
|
|
default.el) file to autoload Haskell mode for Emacs.
|
|
|
|
(setq auto-mode-alist
|
|
(append auto-mode-alist
|
|
'(("\\.[hg]s$" . haskell-mode)
|
|
("\\.hi$" . haskell-mode)
|
|
("\\.l[hg]s$" . literate-haskell-mode))))
|
|
(autoload 'haskell-mode "haskell-mode"
|
|
"Major mode for editing Haskell scripts." t)
|
|
(autoload 'literate-haskell-mode "haskell-mode"
|
|
"Major mode for editing literate Haskell scripts." t)
|
|
|
|
===========================================================================
|