From 52358d084e52863cf2e796ecdb42019e70d0d7ce Mon Sep 17 00:00:00 2001 From: kiripon Date: Sun, 6 Apr 2014 09:36:49 +0100 Subject: [PATCH] fix filepath handling in windows --- elisp/ghc-check.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elisp/ghc-check.el b/elisp/ghc-check.el index 23b597c..b287dab 100644 --- a/elisp/ghc-check.el +++ b/elisp/ghc-check.el @@ -66,7 +66,7 @@ (let ((regex "^\\([^\n\0]*\\):\\([0-9]+\\):\\([0-9]+\\): *\\(.+\\)") info infos) (while (re-search-forward regex nil t) - (let* ((file (match-string 1)) + (let* ((file (expand-file-name (match-string 1))) (line (string-to-number (match-string 2))) ;; don't take column to make multiple same errors to a single. (msg (match-string 4))