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

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

[nongnu] elpa/go-mode 192c9e2 195/495: Use "point" argument instead of r


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode 192c9e2 195/495: Use "point" argument instead of return value of point function
Date: Sat, 7 Aug 2021 09:05:12 -0400 (EDT)

branch: elpa/go-mode
commit 192c9e2a74c10290cedd067f804842725c102123
Author: Yasuyuki Oka <yasuyk@gmail.com>
Commit: Dominik Honnef <dominikh@fork-bomb.org>

    Use "point" argument instead of return value of point function
---
 go-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/go-mode.el b/go-mode.el
index 37aef98..2805346 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -1004,7 +1004,7 @@ description at POINT."
                            "-f"
                            (file-truename (buffer-file-name 
(go--coverage-origin-buffer)))
                            "-o"
-                           (number-to-string (go--position-bytes (point))))
+                           (number-to-string (go--position-bytes point)))
       (with-current-buffer outbuf
         (split-string (buffer-substring-no-properties (point-min) (point-max)) 
"\n")))))
 



reply via email to

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