From: Dominik Honnef Date: Wed, 19 Feb 2014 02:51:47 +0000 (-0500) Subject: misc/emacs: actually use point argument that is passed to godef--call X-Git-Tag: go1.3beta1~664 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0d9b9aafd575099fcbd05e0c8f05f087d8d2b922;p=gostls13.git misc/emacs: actually use point argument that is passed to godef--call LGTM=adonovan R=adonovan CC=golang-codereviews https://golang.org/cl/62600043 --- diff --git a/misc/emacs/go-mode.el b/misc/emacs/go-mode.el index 6adac91ab9..b5a2d8f892 100644 --- a/misc/emacs/go-mode.el +++ b/misc/emacs/go-mode.el @@ -995,7 +995,7 @@ description at POINT." "-f" (file-truename (buffer-file-name (go--coverage-origin-buffer))) "-o" - (number-to-string (go--position-bytes (point)))) + (number-to-string (go--position-bytes point))) (with-current-buffer outbuf (split-string (buffer-substring-no-properties (point-min) (point-max)) "\n")))))