1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/lang/haskell-mode.el/files/pkg-message.in
Pav Lucistnik 1680736418 - Update to 2.8.0
PR:		ports/152726
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
2010-12-01 12:55:47 +00:00

16 lines
635 B
Plaintext

To use haskell-mode in Emacs, add the following lines to your ~/.emacs:
(load "%%PREFIX%%/share/emacs/site-lisp/haskell-mode/haskell-site-file")
Add the following lines according to which modules you want to use:
(add-hook 'haskell-mode-hook 'turn-on-haskell-decl-scan)
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
(add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent)
(add-hook 'haskell-mode-hook 'turn-on-font-lock)
Note that the three indentation modules are mutually exclusive - add at
most one.