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

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

[nongnu] elpa/go-mode 4a7a34b7d8 1/3: Fix two byte-compiler warnings


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode 4a7a34b7d8 1/3: Fix two byte-compiler warnings
Date: Fri, 14 Jan 2022 17:58:03 -0500 (EST)

branch: elpa/go-mode
commit 4a7a34b7d8b026c832832a5ea9e69df7ec8cc78a
Author: Stefan Kangas <stefan@marxist.se>
Commit: Dominik Honnef <dominik@honnef.co>

    Fix two byte-compiler warnings
---
 go-mode.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/go-mode.el b/go-mode.el
index 1a85492832..5a0a1e43fb 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -2625,7 +2625,7 @@ If ARG is non-nil, anonymous functions are ignored."
   (backward-char))
 
 (defun go--in-function-p (compare-point)
-  "Return t if COMPARE-POINT lies inside the function immediately surrounding 
point."
+  "Return t if COMPARE-POINT is inside the function immediately surrounding 
point."
   (save-excursion
     (when (not (looking-at "\\<func\\>"))
       (go-goto-function))
@@ -2796,7 +2796,8 @@ directory up the directory tree."
         (list d))))
 
 (defun go-set-project (&optional buffer)
-  "Set GOPATH based on `go-guess-gopath' for BUFFER, or the current buffer if 
BUFFER is nil.
+  "Set GOPATH based on `go-guess-gopath' for BUFFER.
+Set it to the current buffer if BUFFER is nil.
 
 If go-guess-gopath returns nil, that is if it couldn't determine
 a valid value for GOPATH, GOPATH will be set to the initial value



reply via email to

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