branch: elpa/go-mode
commit 10d6ab43d9fb308950c30b8449ec8b366c8df720
Author: Yue Zhu <[email protected]>
Commit: Peter Sanford <[email protected]>
Allow leading spaces for compilation error message
Closes: #353 [via git-merge-pr]
---
go-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/go-mode.el b/go-mode.el
index 4a740ef..ff041cd 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -1825,7 +1825,7 @@ with goflymake (see URL
`https://github.com/dougm/goflymake'), gocode
(boundp 'compilation-error-regexp-alist-alist))
(add-to-list 'compilation-error-regexp-alist 'go-test)
(add-to-list 'compilation-error-regexp-alist-alist
- '(go-test . ("^\t+\\([^()\t\n]+\\):\\([0-9]+\\):? .*$" 1 2))
t)))
+ '(go-test . ("^\\s-+\\([^()\t\n]+\\):\\([0-9]+\\):? .*$" 1
2)) t)))
;;;###autoload
(add-to-list 'auto-mode-alist (cons "\\.go\\'" 'go-mode))