Permalink
Browse files

company-go--godoc-as-buffer: use process-file-shell-command

This is tramp-friendly
  • Loading branch information...
sigma committed Sep 3, 2018
1 parent 7b1d4e1 commit 06ee386d3ad88774834ac5c98a29eb2e3d645e24
Showing with 1 addition and 1 deletion.
  1. +1 −1 emacs-company/company-go.el
@@ -228,7 +228,7 @@ triggers a completion immediately."
arg
(format "%s.%s" package arg)))
(buf (godoc--get-buffer query))
(exit-code (call-process-shell-command
(exit-code (process-file-shell-command
(concat company-go-godoc-command " " company-go-godoc-args " " query)
nil buf nil)))
(if (zerop exit-code)

0 comments on commit 06ee386

Please sign in to comment.