emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/go-mode 91c4496 254/495: go-unused-imports-lines escape do


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode 91c4496 254/495: go-unused-imports-lines escape dot in regexp correctly
Date: Sat, 7 Aug 2021 09:05:26 -0400 (EDT)

branch: elpa/go-mode
commit 91c4496facecc4b326e4b7c72effa39a231376cc
Author: Dominik Honnef <dominik@honnef.co>
Commit: Dominik Honnef <dominik@honnef.co>

    go-unused-imports-lines escape dot in regexp correctly
---
 go-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/go-mode.el b/go-mode.el
index dc34318..0c430f1 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -1322,7 +1322,7 @@ If IGNORE-CASE is non-nil, the comparison is 
case-insensitive."
                               (string-to-number error-line-num)))))
                     (split-string (shell-command-to-string
                                    (concat go-command
-                                           (if (string-match "_test\.go$" 
buffer-file-truename)
+                                           (if (string-match "_test\\.go$" 
buffer-file-truename)
                                                " test -c"
                                              " build -o /dev/null"))) "\n")))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]