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

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

[nongnu] elpa/go-mode b78582a 262/495: Rename go-goto-type-signature to


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode b78582a 262/495: Rename go-goto-type-signature to go-goto-method-receiver
Date: Sat, 7 Aug 2021 09:05:28 -0400 (EDT)

branch: elpa/go-mode
commit b78582ab9e6c6e9a6b5abe705dd8ca27bbeefe93
Author: Lowe Thiderman <lowe.thiderman@gmail.com>
Commit: Dominik Honnef <dominik@honnef.co>

    Rename go-goto-type-signature to go-goto-method-receiver
---
 go-mode.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/go-mode.el b/go-mode.el
index a5fd327..7e8e527 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -851,7 +851,7 @@ The following extra functions are defined:
 - `go-goto-function-name'
 - `go-goto-imports'
 - `go-goto-return-value'
-- `go-goto-type-signature'
+- `go-goto-method-receiver'
 - `go-play-buffer' and `go-play-region'
 - `go-download-play'
 - `godef-describe' and `godef-jump'
@@ -1636,8 +1636,8 @@ If there is none, make space for one to be added."
     (insert " ")
     (backward-char 1)))
 
-(defun go-goto-type-signature ()
-  "Go to the type signature of the current function.
+(defun go-goto-method-receiver ()
+  "Go to the receiver of the current method.
 
 If there is none, add parenthesis to add one."
   (interactive)
@@ -1680,8 +1680,8 @@ If there is none, add one."
 (define-key go-goto-map (kbd "d") 'go-goto-docstring)
 (define-key go-goto-map (kbd "f") 'go-goto-function-name)
 (define-key go-goto-map (kbd "i") 'go-goto-imports)
+(define-key go-goto-map (kbd "m") 'go-goto-method-receiver)
 (define-key go-goto-map (kbd "r") 'go-goto-return-value)
-(define-key go-goto-map (kbd "t") 'go-goto-type-signature)
 
 (provide 'go-mode)
 



reply via email to

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