improving doc.
This commit is contained in:
parent
908f4b8323
commit
793c999cd8
@ -1,3 +1,13 @@
|
|||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;;;
|
||||||
|
;;; ghc-flymake.el
|
||||||
|
;;;
|
||||||
|
|
||||||
|
;; Author: Kazu Yamamoto <Kazu@Mew.org>
|
||||||
|
;; Created: Mar 12, 2010
|
||||||
|
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
(require 'flymake)
|
(require 'flymake)
|
||||||
|
|
||||||
(defvar ghc-flymake-allowed-file-name-masks
|
(defvar ghc-flymake-allowed-file-name-masks
|
||||||
@ -19,15 +29,4 @@
|
|||||||
(list ghc-module-command (append (ghc-module-command-args)
|
(list ghc-module-command (append (ghc-module-command-args)
|
||||||
(list "check" file)))))
|
(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)
|
(provide 'ghc-flymake)
|
@ -10,6 +10,7 @@ Description: This packages includes Elisp files
|
|||||||
and a Haskell command, "ghc-mod".
|
and a Haskell command, "ghc-mod".
|
||||||
"ghc*.el" enable completion of
|
"ghc*.el" enable completion of
|
||||||
Haskell symbols on Emacs.
|
Haskell symbols on Emacs.
|
||||||
|
Flymake is also integrated.
|
||||||
"ghc-mod" is a backend of "ghc*.el".
|
"ghc-mod" is a backend of "ghc*.el".
|
||||||
It lists up all installed modules
|
It lists up all installed modules
|
||||||
or extracts names of functions, classes,
|
or extracts names of functions, classes,
|
||||||
|
Loading…
Reference in New Issue
Block a user