Emacs go-mode gofmt diff problem
Shit. In emacs golang go-mode.el
, the
Alt + x gofmt
command doesn't work on Microsoft Windows because it's trying to call unix shell command diff
. Sloppy, plus, it shouldn't need to.

gofmt
command itself supports diff, by gofmt -d

now write my own. emacs lisp command to call gofmt. golang