changeset 332:ec41fb19c4c8

go-eldoc: try and fix go-eldoc
author Augie Fackler <raf@durin42.com>
date Tue, 11 Mar 2014 14:00:31 -0400
parents ecb85d3ba960
children 4b661cede8ad 1f6b813777c8
files .elisp/settings/80.go.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.elisp/settings/80.go.el
+++ b/.elisp/settings/80.go.el
@@ -5,6 +5,7 @@
   (setq indent-tabs-mode t)
   (make-variable-buffer-local 'whitespace-style)
   (setq whitespace-style '(trailing lines-tail indentation trailing empty))
+  (go-eldoc-setup)
   )
 
 (defun af-get-go-elisp-location ()
@@ -31,7 +32,6 @@
         (add-to-list 'load-path goloc)
         (require 'go-mode)
         (add-hook 'go-mode-hook 'af-go-hook)
-        (add-hook 'go-mode-hook 'go-eldoc-setup)
         (let* ((loc (af-get-gocode-elisp-location))
                (el (concat loc "/company-go.el")))
           (if (file-exists-p el)