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-compile.el
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ The `%s' placeholder is replaced by the current buffer's filename."

(defconst haskell-compilation-error-regexp-alist
`((,(concat
"^\\(?1:[^ \t\r\n]+?\\):"
"^ *\\(?1:[^ \t\r\n]+?\\):"
"\\(?:"
"\\(?2:[0-9]+\\):\\(?4:[0-9]+\\)\\(?:-\\(?5:[0-9]+\\)\\)?" ;; "121:1" & "12:3-5"
"\\|"
Expand Down Expand Up @@ -97,7 +97,7 @@ This is a child of `compilation-mode-map'.")
"Local `compilation-filter-hook' for `haskell-compilation-mode'."

(when haskell-compile-ghc-filter-linker-messages
(delete-matching-lines "^Loading package [^ \t\r\n]+ [.]+ linking [.]+ done\\.$"
(delete-matching-lines "^ *Loading package [^ \t\r\n]+ [.]+ linking [.]+ done\\.$"
(if (boundp 'compilation-filter-start) ;; available since Emacs 24.2
(save-excursion (goto-char compilation-filter-start)
(line-beginning-position))
Expand Down