mirror of
https://github.com/golang/go
synced 2024-11-18 10:04:43 -07:00
refactor/rename: emacs: set up autoloading of go-rename function
Add an ;;;###autoload magic comment, so that the go-rename command can be used without need to explicitly (require 'go-rename) first. Change-Id: Ibdf9886fe98c55e1d948469aac972b568649f910 Reviewed-on: https://go-review.googlesource.com/16327 Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
81e6679d08
commit
0227ea4101
@ -34,6 +34,7 @@
|
||||
:type 'string
|
||||
:group 'go-rename)
|
||||
|
||||
;;;###autoload
|
||||
(defun go-rename (new-name &optional force)
|
||||
"Rename the entity denoted by the identifier at point, using
|
||||
the `gorename' tool. With FORCE, call `gorename' with the
|
||||
|
Loading…
Reference in New Issue
Block a user