From 623fb018214de8d8e30c23e62684d4b0ceea8d91 Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Fri, 12 Mar 2010 13:42:42 +0900 Subject: [PATCH] improving README. --- README | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README b/README index 983b285..560fadf 100644 --- a/README +++ b/README @@ -1,12 +1,20 @@ Haskell Completion on Emacs 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 -completion information of Haskell modules with GHC. +information from GHC. Elisp libraries including ghc-mod is an extension to haskell-mode. You should put the followings in your "~/.emacs.el": -(autoload 'ghc-init "ghc" nil t) -(add-hook 'haskell-mode-hook (lambda () (ghc-init))) + (autoload 'ghc-init "ghc" nil t) + (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/