From ba583e21fce59a3e0695b28ba3c2cd1c28fd8494 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Tue, 24 Apr 2018 00:10:11 +0100 Subject: [PATCH] Fix siren-go module It would fail to load anything. --- modules/siren-go.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/siren-go.el b/modules/siren-go.el index d1d7fd8..2bbf0d4 100644 --- a/modules/siren-go.el +++ b/modules/siren-go.el @@ -21,9 +21,7 @@ ("C-c b" . go-run) ("C-c d" . godef-jump) ("C-c C-j" . avy-goto-word-or-subword-1) - ("C-h f" . godoc-at-point) - :map help-command - ("G" . godoc)) + ("C-h f" . godoc-at-point)) :hook (go-mode . siren-go-mode-setup) @@ -72,6 +70,8 @@ (when (memq window-system '(mac ns)) (exec-path-from-shell-copy-env "GOPATH")) + (define-key 'help-command (kbd "G") 'godoc) + ;; Ignore go test -c output files (add-to-list 'completion-ignored-extensions ".test"))