dominikh/go-mode.el — pull request #33 by ptrv (2013-03-29 10:45:16+00:00)
Title: Set compilation-mode in *Gofmt Errors* window before display-buffer

Set compilation mode before calling display-buffer because
display-buffer does not select the window, which can cause that the mode
is selected in the wrong buffer (i.e. when using popwin.el).