summaryrefslogtreecommitdiff
path: root/lang/haskell-mode.el/files/pkg-message.in
blob: 4f6b2718664a8a64570c2081c8d917985d390ca8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[
{ type: install
  message: <<EOM
To use haskell-mode in Emacs, add the following lines to your ~/.emacs:

(add-to-list 'load-path "%%PREFIX%%/share/emacs/site-lisp/haskell-mode/")
(require 'haskell-mode-autoloads)

Add the following lines according to which modules you want to use:

(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)
(autoload 'turn-on-haskell-indent "hindent" "Indentation mode for Haskell" t)
(add-hook 'haskell-mode-hook 'font-lock-mode)

Note that the three indentation modules are mutually exclusive - add at
most one.
EOM
}
]