refactor/rename: emacs: package.el compatibility changes
Change-Id: Ia37db2bfbe02015eb38f13fc7fc58a9aec9c551c Reviewed-on: https://go-review.googlesource.com/15527 Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
5b9ecb9f68
commit
f941d540e3
|
@ -1,16 +1,25 @@
|
||||||
;;; Copyright 2014 The Go Authors. All rights reserved.
|
;;; go-rename.el --- Integration of the 'gorename' tool into Emacs.
|
||||||
;;; Use of this source code is governed by a BSD-style
|
|
||||||
;;; license that can be found in the LICENSE file.
|
;; Copyright 2014 The Go Authors. All rights reserved.
|
||||||
;;;
|
;; Use of this source code is governed by a BSD-style
|
||||||
;;; Integration of the 'gorename' tool into Emacs.
|
;; license that can be found in the LICENSE file.
|
||||||
;;;
|
|
||||||
;;; To install:
|
;; Version: 0.1
|
||||||
;;; % go get golang.org/x/tools/cmd/gorename
|
;; Package-Requires: ((go-mode "1.3.1"))
|
||||||
;;; % go build golang.org/x/tools/cmd/gorename
|
;; Keywords: tools
|
||||||
;;; % mv gorename $HOME/bin/ # or elsewhere on $PATH
|
|
||||||
;;;
|
;;; Commentary:
|
||||||
;;; The go-rename-command variable can be customized to specify an
|
|
||||||
;;; alternative location for the installed command.
|
;; To install:
|
||||||
|
|
||||||
|
;; % go get golang.org/x/tools/cmd/gorename
|
||||||
|
;; % go build golang.org/x/tools/cmd/gorename
|
||||||
|
;; % mv gorename $HOME/bin/ # or elsewhere on $PATH
|
||||||
|
|
||||||
|
;; The go-rename-command variable can be customized to specify an
|
||||||
|
;; alternative location for the installed command.
|
||||||
|
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
(require 'compile)
|
(require 'compile)
|
||||||
(require 'go-mode)
|
(require 'go-mode)
|
||||||
|
@ -94,3 +103,5 @@ the `gorename' tool. With FORCE, call `gorename' with the
|
||||||
(buffer-substring (point-min) (point-max))))
|
(buffer-substring (point-min) (point-max))))
|
||||||
|
|
||||||
(provide 'go-rename)
|
(provide 'go-rename)
|
||||||
|
|
||||||
|
;;; go-rename.el ends here
|
Loading…
Reference in New Issue