improving README.

This commit is contained in:
Kazu Yamamoto 2010-03-12 13:42:42 +09:00
parent 793c999cd8
commit 623fb01821

14
README
View File

@ -1,12 +1,20 @@
Haskell Completion on Emacs Haskell Completion on Emacs
This package enables many completions for Haskell programming in Haskell. This package enables many completions for Haskell programming in Haskell.
Flymake is also integrated.
The "ghc-mod" program written in Haskell is a backend to gather The "ghc-mod" program written in Haskell is a backend to gather
completion information of Haskell modules with GHC. information from GHC.
Elisp libraries including ghc-mod is an extension to haskell-mode. Elisp libraries including ghc-mod is an extension to haskell-mode.
You should put the followings in your "~/.emacs.el": You should put the followings in your "~/.emacs.el":
(autoload 'ghc-init "ghc" nil t) (autoload 'ghc-init "ghc" nil t)
(add-hook 'haskell-mode-hook (lambda () (ghc-init))) (add-hook 'haskell-mode-hook (lambda () (ghc-init)))
or
(add-hook 'haskell-mode-hook (lambda () (ghc-init) (flymake-mode)))
For more information, see:
http://www.mew.org/~kazu/proj/ghc-mod/