changeset 285:d77b2e253e99

emacs go: actually use af-go-mode-hook
author Augie Fackler <raf@durin42.com>
date Thu, 03 May 2012 18:01:46 -0500
parents 426917c07eb1
children c7e8311eb2ba
files .elisp/settings/80.go.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.elisp/settings/80.go.el
+++ b/.elisp/settings/80.go.el
@@ -26,6 +26,7 @@
         (message "Go is installed, loading go-mode")
         (add-to-list 'load-path goloc)
         (require 'go-mode)
+        (add-hook 'go-mode-hook          'af-go-hook)
         (let* ((loc (af-get-gocode-elisp-location))
                (el (concat loc "/company-go.el")))
           (if (file-exists-p el)