misc/emacs: Fix the automatic gofmt when creating a new file.
Patching the buffer with the output from gofmt -d only works if the file already exists. If it doesn't, replace the content with the output of gofmt. R=sameer CC=golang-dev https://golang.org/cl/6302063
Showing
Please
register
or
sign in
to comment