misc/emacs: Kill gofmt error buffer if the buffer was formatted correctly already.

R=adonovan, cw, patrick.allen.higgins, bradfitz
CC=golang-dev
https://codereview.appspot.com/7844045

Committer: Brad Fitzpatrick <bradfitz@golang.org>
cmd/cgo: fix the cgo example on multiple assignment context.

Change from atoi to strtol since atoi does not set errno.

R=golang-dev, minux.ma, rsc, bradfitz
CC=golang-dev
https://codereview.appspot.com/7888047

Committer: Brad Fitzpatrick <bradfitz@golang.org>