emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/go-mode 3becce232b 4/7: Replace calls of deprecated point-


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode 3becce232b 4/7: Replace calls of deprecated point-at-{bol, eol}
Date: Wed, 28 Dec 2022 12:59:14 -0500 (EST)

branch: elpa/go-mode
commit 3becce232b301fa24857e663b4e32d390f4b5b42
Author: Dominik Honnef <dominik@honnef.co>
Commit: Dominik Honnef <dominik@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) "[., ]")))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]