nsf/gocode — pull request #182 by dougm (2014-01-02 21:35:53+00:00)
Title: Close gocode daemon at emacs exit

Register a kill-emacs-hook to run 'gocode close' when emacs exits.

The hook is not registered if the daemon unix socket already exists,
assumes gocode daemon was running before go-mode was loaded.