Errors does not have "Error" prefix.
This commit is contained in:
parent
114631f581
commit
9b629a0afb
@ -147,9 +147,9 @@
|
|||||||
(overlay-put ovl 'ghc-check t)
|
(overlay-put ovl 'ghc-check t)
|
||||||
(overlay-put ovl 'ghc-file file)
|
(overlay-put ovl 'ghc-file file)
|
||||||
(overlay-put ovl 'ghc-msg msg) ;; should be list
|
(overlay-put ovl 'ghc-msg msg) ;; should be list
|
||||||
(let ((face (if (string-match "^Error" msg)
|
(let ((face (if (string-match "^Warning" msg)
|
||||||
'ghc-face-error
|
'ghc-face-warn
|
||||||
'ghc-face-warn)))
|
'ghc-face-error)))
|
||||||
(overlay-put ovl 'face face)))))))
|
(overlay-put ovl 'face face)))))))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
Loading…
Reference in New Issue
Block a user