go/misc/emacs
Jean-Marc Eurin 7b6111a9dd misc/emacs: Use patch output of gofmt instead of replacing the buffer.
This uses the patch output of gofmt (-d option) and applies each
chunk to the buffer, instead of replacing the whole buffer.  The
main advantage is that the undo history is kept across gofmt'ings,
so it can really be used as a before-save-hook.

R=sameer, sameer
CC=golang-dev
https://golang.org/cl/6198047
2012-05-30 14:18:58 -04:00
..
go-mode-load.el misc/emacs: bug fix: use UTF-8 when invoking gofmt as a subprocess. 2011-05-13 11:05:03 -04:00
go-mode.el misc/emacs: Use patch output of gofmt instead of replacing the buffer. 2012-05-30 14:18:58 -04:00