From 45c7bdc7b7cab3df70499d4f981b2d48da6fdb4b Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 5 Apr 2016 12:22:35 -0700 Subject: [PATCH] Advise go-import-around with normal go command --- dotfiles/emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index eb1c3eb4..bc45310a 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -2327,12 +2327,12 @@ items follow a style that is consistent with other prog-modes." (set (make-local-variable 'company-backends) '(company-go)))) :config (progn - (advice-remove 'imalison:let-advise-around 'go-guru-defintion) (advice-add 'go-guru-definition :around 'imalison:advise-normal-go-command) (advice-add 'go-guru-definition :before (lambda () (with-no-warnings (ring-insert find-tag-marker-ring (point-marker))))) + (advice-add 'go-import-add :around 'imalison:advise-normal-go-command) (use-package company-go :config (setq company-go-show-annotation t)) (use-package go-projectile)