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-file file)
|
||||
(overlay-put ovl 'ghc-msg msg) ;; should be list
|
||||
(let ((face (if (string-match "^Error" msg)
|
||||
'ghc-face-error
|
||||
'ghc-face-warn)))
|
||||
(let ((face (if (string-match "^Warning" msg)
|
||||
'ghc-face-warn
|
||||
'ghc-face-error)))
|
||||
(overlay-put ovl 'face face)))))))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
Loading…
Reference in New Issue
Block a user