Fix void reference to go--position-bytes in go-rename
This commit is contained in:
parent
8226f0070f
commit
1f7c8d095d
|
@ -37,7 +37,7 @@ the `gorename' tool."
|
|||
(string= (file-name-extension (buffer-file-name)) ".go"))))
|
||||
(let* ((posflag (format "-offset=%s:#%d"
|
||||
(expand-file-name buffer-file-truename)
|
||||
(1- (go--position-bytes (point)))))
|
||||
(1- (position-bytes (point)))))
|
||||
(env-vars (go-root-and-paths))
|
||||
(goroot-env (concat "GOROOT=" (car env-vars)))
|
||||
(gopath-env (concat "GOPATH=" (mapconcat #'identity (cdr env-vars) ":")))
|
||||
|
|
Loading…
Reference in a new issue