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
4 changes: 2 additions & 2 deletions haskell-interactive-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -1016,8 +1016,8 @@ don't care when the thing completes as long as it's soonish."
"Look for an <interactive> compile error; if there is one, pop
that up in a buffer, similar to `debug-on-error'."
(when (and haskell-interactive-types-for-show-ambiguous
(string-match "^\n<interactive>:[0-9]+:[0-9]+:" response)
(not (string-match "^\n<interactive>:[0-9]+:[0-9]+:[\n ]+Warning:" response)))
(string-match "^\n<interactive>:[-0-9]+:[-0-9]+:" response)
(not (string-match "^\n<interactive>:[-0-9]+:[-0-9]+:[\n ]+Warning:" response)))
(let ((inhibit-read-only t))
(delete-region haskell-interactive-mode-prompt-start (point))
(set-marker haskell-interactive-mode-prompt-start
Expand Down