Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion haskell-load.el
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ actual Emacs buffer of the module being loaded."
t)
((haskell-process-consume
process
"Ok, \\(?:[a-z]+\\) module loaded\\.$") ;; for ghc 8.4
"Ok, \\(?:[a-z]+\\) modules? loaded\\.$") ;; for ghc 8.4
t)
((haskell-process-consume
process
Expand All @@ -125,6 +125,10 @@ actual Emacs buffer of the module being loaded."
process
"Failed, modules loaded: \\(.+\\)\\.$")
nil)
((haskell-process-consume
process
"Failed, no modules loaded\\.$") ;; for ghc 8.4
nil)
(t
(error (message "Unexpected response from haskell process.")))))
(modules (haskell-process-extract-modules buffer))
Expand Down