Descriptionmisc/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.
Patch Set 1 #Patch Set 2 : diff -r d34766b79c5e https://code.google.com/p/go/ #
Total comments: 2
Patch Set 3 : diff -r d34766b79c5e https://code.google.com/p/go/ #Patch Set 4 : diff -r d34766b79c5e https://code.google.com/p/go/ #MessagesTotal messages: 5
|