Commit 0d9b9aaf authored by Dominik Honnef's avatar Dominik Honnef Committed by Alan Donovan

misc/emacs: actually use point argument that is passed to godef--call

LGTM=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/62600043
parent 86ac6181
...@@ -995,7 +995,7 @@ description at POINT." ...@@ -995,7 +995,7 @@ description at POINT."
"-f" "-f"
(file-truename (buffer-file-name (go--coverage-origin-buffer))) (file-truename (buffer-file-name (go--coverage-origin-buffer)))
"-o" "-o"
(number-to-string (go--position-bytes (point)))) (number-to-string (go--position-bytes point)))
(with-current-buffer outbuf (with-current-buffer outbuf
(split-string (buffer-substring-no-properties (point-min) (point-max)) "\n"))))) (split-string (buffer-substring-no-properties (point-min) (point-max)) "\n")))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment