1
0
mirror of https://github.com/golang/go synced 2024-11-15 11:40:35 -07:00
go/misc/emacs
Jean-Marc Eurin 95c8f44f3a [release-branch.go1] misc/emacs: Fix the automatic gofmt when creating a new file.
««« backport 5b4920fe3605
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

»»»
2012-06-13 16:24:59 -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 [release-branch.go1] misc/emacs: Fix the automatic gofmt when creating a new file. 2012-06-13 16:24:59 -04:00