mirror of
https://github.com/golang/go
synced 2024-11-18 10:44:45 -07:00
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.
|
||||
;;; Use of this source code is governed by a BSD-style
|
||||
;;; license that can be found in the LICENSE file.
|
||||
;;;
|
||||
;;; Integration of the 'gorename' tool into Emacs.
|
||||
;;;
|
||||
;;; 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.
|
||||
;;; go-rename.el --- Integration of the 'gorename' tool into Emacs.
|
||||
|
||||
;; Copyright 2014 The Go Authors. All rights reserved.
|
||||
;; Use of this source code is governed by a BSD-style
|
||||
;; license that can be found in the LICENSE file.
|
||||
|
||||
;; Version: 0.1
|
||||
;; Package-Requires: ((go-mode "1.3.1"))
|
||||
;; Keywords: tools
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;; 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 'go-mode)
|
||||
@ -94,3 +103,5 @@ the `gorename' tool. With FORCE, call `gorename' with the
|
||||
(buffer-substring (point-min) (point-max))))
|
||||
|
||||
(provide 'go-rename)
|
||||
|
||||
;;; go-rename.el ends here
|
Loading…
Reference in New Issue
Block a user