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

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

[nongnu] elpa/go-mode abc56d4 286/495: Rename go-goto-return-value to go


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode abc56d4 286/495: Rename go-goto-return-value to go-goto-return-values
Date: Sat, 7 Aug 2021 09:05:33 -0400 (EDT)

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

    Rename go-goto-return-value to go-goto-return-values
---
 README.md  | 2 +-
 go-mode.el | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 01b3ac7..826c725 100644
--- a/README.md
+++ b/README.md
@@ -50,7 +50,7 @@ the following extra features to provide an improved 
experience:
     (`go-goto-docstring` - `C-c C-g d`).
   - Jump to the function keyword (`go-goto-function` - `C-c C-g f`)
   - Jump to the function name (`go-goto-function-name` - `C-c C-g n`)
-  - Jump to the return values (`go-goto-return-value` - `C-c C-g r`)
+  - Jump to the return values (`go-goto-return-values` - `C-c C-g r`)
   - Jump to the method receiver, adding a pair of parentheses if no
     method receiver exists (`go-goto-method-receiver` - `C-c C-g m`).
 
diff --git a/go-mode.el b/go-mode.el
index fb00b73..bf5505e 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -372,7 +372,7 @@ For mode=set, all covered lines will have this weight."
   (define-key m "i" #'go-goto-imports)
   (define-key m "m" #'go-goto-method-receiver)
   (define-key m "n" #'go-goto-function-name)
-  (define-key m "r" #'go-goto-return-value))
+  (define-key m "r" #'go-goto-return-values))
 
 (defvar go-mode-map
   (let ((m (make-sparse-keymap)))
@@ -860,7 +860,7 @@ The following extra functions are defined:
 - `go-goto-function'
 - `go-goto-function-name'
 - `go-goto-imports'
-- `go-goto-return-value'
+- `go-goto-return-values'
 - `go-goto-method-receiver'
 - `go-play-buffer' and `go-play-region'
 - `go-download-play'
@@ -1709,7 +1709,7 @@ If ARG is non-nil, anonymous functions are skipped."
   (forward-list)
   (forward-char))
 
-(defun go-goto-return-value (&optional arg)
+(defun go-goto-return-values (&optional arg)
   "Go to the return value declaration of the current function.
 
 If there are multiple ones contained in a parenthesis, enter the parenthesis.



reply via email to

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