branch: elpa/go-mode commit 3becce232b301fa24857e663b4e32d390f4b5b42 Author: Dominik Honnef <domi...@honnef.co> Commit: Dominik Honnef <domi...@honnef.co>
Replace calls of deprecated point-at-{bol,eol} --- go-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-mode.el b/go-mode.el index aad956db12..2dc253462b 100644 --- a/go-mode.el +++ b/go-mode.el @@ -2470,7 +2470,7 @@ divisor for FILE-NAME." (insert-file-contents coverage-file) (go--goto-line 2) ;; Skip over mode (while (not (eobp)) - (let* ((parts (split-string (buffer-substring (point-at-bol) (point-at-eol)) ":")) + (let* ((parts (split-string (buffer-substring (line-beginning-position) (line-end-position)) ":")) (file (car parts)) (rest (split-string (nth 1 parts) "[., ]")))