From 0227ea4101b996525f163300f3bc957e4a1f72a5 Mon Sep 17 00:00:00 2001 From: Konstantin Shaposhnikov Date: Mon, 26 Oct 2015 20:40:53 +0800 Subject: [PATCH] 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 --- refactor/rename/go-rename.el | 1 + 1 file changed, 1 insertion(+) diff --git a/refactor/rename/go-rename.el b/refactor/rename/go-rename.el index a311e07da7..8faecc63ad 100644 --- a/refactor/rename/go-rename.el +++ b/refactor/rename/go-rename.el @@ -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