]> Cypherpunks repositories - gostls13.git/commit
Implement new emacs command M-x gofmt weekly.2009-11-10.1
authorKevin Ballard <kevin@sb.org>
Wed, 11 Nov 2009 04:05:24 +0000 (20:05 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 11 Nov 2009 04:05:24 +0000 (20:05 -0800)
commitc57054f7b49539ca4ed6533267c1c20c39aaaaa5
treeb68305599abee671f80890777d0bbf1163ed5921
parent022e3ae2659491e519d392e266acd86223a510f4
Implement new emacs command M-x gofmt

Define a new interactive function in go-mode.el called gofmt.
This function passes the current buffer through the external `gofmt`
tool and replaces the buffer with the result.

R=agl, rsc
https://golang.org/cl/154044
misc/emacs/go-mode.el