haskell/haskell-mode — pull request #96 by sheyll (2012-11-22 12:16:30+00:00)
Title: Fix Problem when saving a new file

In case the file does not yet exist on the file system, or anything else goes
wrong, do we REALLY want to prevent the user from saving his valueable
changes?? - No I would say, hence I added 'ignore-errors' in the before save hook.

I had the case that I could not save a new haskell buffer.
I had the stylish-haskell on save activated, so it was run in the before save hook - and crashed because the file was simply not there. Anyway I do not want that an error in stylish-haskell prevents me from saving my changes!