improving doc.

This commit is contained in:
Kazu Yamamoto 2010-03-12 13:39:38 +09:00
parent 908f4b8323
commit 793c999cd8
2 changed files with 11 additions and 11 deletions

View File

@ -1,3 +1,13 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; ghc-flymake.el
;;;
;; Author: Kazu Yamamoto <Kazu@Mew.org>
;; Created: Mar 12, 2010
;;; Code:
(require 'flymake)
(defvar ghc-flymake-allowed-file-name-masks
@ -19,15 +29,4 @@
(list ghc-module-command (append (ghc-module-command-args)
(list "check" file)))))
;; ghc --make GHCMod.hs -outputdir dist/flymake -o dist/flymake/GHCMod
;; (defun ghc-flymake-init ()
;; (let* ((temp-file (flymake-init-create-temp-buffer-copy
;; 'flymake-create-temp-inplace))
;; (local-file (file-relative-name
;; temp-file
;; (file-name-directory buffer-file-name))))
;; (list ghc-module-command (append (ghc-module-command-args)
;; (list "check" local-file)))))
(provide 'ghc-flymake)

View File

@ -10,6 +10,7 @@ Description: This packages includes Elisp files
and a Haskell command, "ghc-mod".
"ghc*.el" enable completion of
Haskell symbols on Emacs.
Flymake is also integrated.
"ghc-mod" is a backend of "ghc*.el".
It lists up all installed modules
or extracts names of functions, classes,