# HG changeset patch # User Augie Fackler # Date 1394560831 14400 # Node ID ec41fb19c4c88df5acc14684dc80ffe6a1b715fd # Parent ecb85d3ba96079ed7c0b8c826417e1b1a6143b68 go-eldoc: try and fix go-eldoc diff --git a/.elisp/settings/80.go.el b/.elisp/settings/80.go.el --- 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)