#682903 Don't open file when flymake is enabled in the first try

Package:
haskell-mode
Source:
haskell-mode
Submitter:
Marco Túlio Gontijo e Silva
Date:
2015-03-30 16:30:44 UTC
Severity:
minor
#682903#5
Date:
2012-07-26 22:31:49 UTC
From:
To:
With this .emacs.el:

(require 'flymake)
(add-hook 'find-file-hook 'flymake-find-file-hook)

If I try to open any (new or existing) haskell file, for instance with
C-x C-x a.hs <ENTER>, it will give an error and not open the file.

The error logged in *Messages* is:

split-string: Wrong type argument: stringp, nil

Any workaround is welcome.

Greetings.