[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/go-mode d1ebde8 271/495: Rename go--get-function-name to g
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/go-mode d1ebde8 271/495: Rename go--get-function-name to go--function-name |
Date: |
Sat, 7 Aug 2021 09:05:29 -0400 (EDT) |
branch: elpa/go-mode
commit d1ebde843b3e14b9f6086aae920c87e22aebb0e7
Author: Lowe Thiderman <lowe.thiderman@gmail.com>
Commit: Dominik Honnef <dominik@honnef.co>
Rename go--get-function-name to go--function-name
---
go-mode.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/go-mode.el b/go-mode.el
index e22bea9..20bb088 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -1755,7 +1755,7 @@ an error is raised."
;; If we are looking at an empty comment, add a single space in front of it.
((looking-at "^//$")
(forward-char 2)
- (insert (format " %s " (go--get-function-name))))
+ (insert (format " %s " (go--function-name))))
;; If we are not looking at the function signature, we are looking at a
docstring.
;; Move to the beginning of the first word of it.
((not (looking-at "^func"))
@@ -1764,9 +1764,9 @@ an error is raised."
(t
(forward-line -1)
(newline)
- (insert (format "// %s " (go--get-function-name))))))
+ (insert (format "// %s " (go--function-name))))))
-(defun go--get-function-name ()
+(defun go--function-name ()
"Return the current function name as a string.
Will skip anonymous functions since they do not have names."
- [nongnu] elpa/go-mode 27068bb 222/495: provide configuration option for how to display coverage buffer, (continued)
- [nongnu] elpa/go-mode 27068bb 222/495: provide configuration option for how to display coverage buffer, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 86ed568 235/495: add link to `defgroup'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode a9b9871 247/495: Use view-mode in godoc-mode, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode dce210f 250/495: Bump version to 1.3.1, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 8baa836 251/495: Don't break fontification when limiting point, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode dccb56c 256/495: go-unused-imports-lines: only compile the current file, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode d91a157 257/495: Add goto functions for working with function signatures, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 11e7b4e 259/495: Fix copy-pasted docstring of go-goto-arguments, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode b261fac 263/495: Add support for (nested) anonymous functions in go-goto-function, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 6e8373e 267/495: go-goto-docstring: handle empty comments, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode d1ebde8 271/495: Rename go--get-function-name to go--function-name,
ELPA Syncer <=
- [nongnu] elpa/go-mode eddbcff 277/495: Make sure we're looking at func keyword, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 45a8131 284/495: Implement go--goto-opening-curly-brace as in go-end-of-defun, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode d6aa01a 287/495: Merge branch 'movement', ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 27b7415 293/495: Allow passing additional arguments to gofmt, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 1214f77 294/495: Bind go-goto-map to C-f, not C-g, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 17bd2b2 296/495: Add GOPATH detection, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 9f785cc 298/495: Document stability of the master branch, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode f8b4bf9 300/495: Add to beginning of compilation-error-regexp-alist, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode cfaa193 348/495: cmd/guru: rename oracle to guru, copying it to a single package, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 4d1ab9f 347/495: cmd/oracle: improve error messages, ELPA Syncer, 2021/08/07