1
0
mirror of https://github.com/golang/go synced 2024-09-30 16:28:32 -06: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:
Konstantin Shaposhnikov 2015-10-26 20:40:53 +08:00 committed by Alan Donovan
parent 81e6679d08
commit 0227ea4101

View File

@ -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