pheaver/haskell-mode — Issue #4: Lisp error: (wrong-type-argument stringp nil)
Author: leoliu
Created: 2011-12-20 14:24:25+00:00
State: open

I am getting an error when opening .hs files:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
string-match("[ \f	\n^M^K]+" nil 0)
split-string(nil)
haskell-flymake-init()
flymake-start-syntax-check()
flymake-after-save-hook()
run-hooks(after-save-hook)
basic-save-buffer()
save-buffer(1)
call-interactively(save-buffer nil nil)

Patch: https://gist.github.com/1501719