M-t for hlint. An error/warning place is replaced with suggestion
but not perfect.
This commit is contained in:
@@ -15,12 +15,12 @@
|
||||
(cond
|
||||
((bobp)
|
||||
(ghc-insert-module-template))
|
||||
((ghc-flymake-have-errs-p)
|
||||
(ghc-flymake-insert-from-warning))
|
||||
((save-excursion
|
||||
(beginning-of-line)
|
||||
(looking-at "^[^ ]+ *::"))
|
||||
(ghc-insert-function-template))
|
||||
((ghc-flymake-have-errs-p)
|
||||
(ghc-flymake-insert-from-warning))
|
||||
(t
|
||||
(message "Nothing to be done"))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user