Skip to content

Commit 3becce2

Browse files
committed
Replace calls of deprecated point-at-{bol,eol}
1 parent 8dbafe8 commit 3becce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2470,7 +2470,7 @@ divisor for FILE-NAME."
24702470
(insert-file-contents coverage-file)
24712471
(go--goto-line 2) ;; Skip over mode
24722472
(while (not (eobp))
2473-
(let* ((parts (split-string (buffer-substring (point-at-bol) (point-at-eol)) ":"))
2473+
(let* ((parts (split-string (buffer-substring (line-beginning-position) (line-end-position)) ":"))
24742474
(file (car parts))
24752475
(rest (split-string (nth 1 parts) "[., ]")))
24762476

0 commit comments

Comments
 (0)