1
0
mirror of https://github.com/golang/go synced 2024-11-18 11:04:42 -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:
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 :type 'string
:group 'go-rename) :group 'go-rename)
;;;###autoload
(defun go-rename (new-name &optional force) (defun go-rename (new-name &optional force)
"Rename the entity denoted by the identifier at point, using "Rename the entity denoted by the identifier at point, using
the `gorename' tool. With FORCE, call `gorename' with the the `gorename' tool. With FORCE, call `gorename' with the