[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/go-mode 6f4ff9ef87: Fix obsoleted function warnings for ne
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/go-mode 6f4ff9ef87: Fix obsoleted function warnings for newer Emacs |
Date: |
Fri, 9 Feb 2024 22:00:31 -0500 (EST) |
branch: elpa/go-mode
commit 6f4ff9ef874d151ed8d297a80f1bf27db5d9dbf0
Author: Shohei YOSHIDA <syohex@gmail.com>
Commit: Dominik Honnef <dominik@honnef.co>
Fix obsoleted function warnings for newer Emacs
---
go-guru.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/go-guru.el b/go-guru.el
index 42bb6d54a9..c538680df2 100644
--- a/go-guru.el
+++ b/go-guru.el
@@ -318,7 +318,7 @@ If BUFFER, return the number of characters in that buffer
instead."
(defun go-guru--goto-byte-column (offset)
"Go to the OFFSETth byte in the current line."
- (goto-char (byte-to-position (+ (position-bytes (point-at-bol)) (1-
offset)))))
+ (goto-char (byte-to-position (+ (position-bytes (line-beginning-position))
(1- offset)))))
(defun go-guru--goto-pos (posn other-window)
"Find the file containing the position POSN (of the form `file:line:col')
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/go-mode 6f4ff9ef87: Fix obsoleted function warnings for newer Emacs,
ELPA Syncer <=