1
0
mirror of https://github.com/golang/go synced 2024-11-13 16:30:25 -07:00
go/misc/emacs
Sameer Ajmani 0ac151fd5c misc/emacs: gofmt: don't clobber the current buffer on failure
Change M-x gofmt to display errors in a new buffer instead of
clobbering the current buffer.

Add gofmt-before-save, which runs gofmt when in go-mode.  This
can be used with before-save-hook.  Add to your .emacs:
  (add-hook 'before-save-hook 'gofmt-before-save)

R=rsc, aclements, amdragon
CC=golang-dev
https://golang.org/cl/4276059
2011-03-24 10:35:39 -04:00
..
go-mode-load.el misc/emacs: gofmt: don't clobber the current buffer on failure 2011-03-24 10:35:39 -04:00
go-mode.el misc/emacs: gofmt: don't clobber the current buffer on failure 2011-03-24 10:35:39 -04:00