Skip to content

Commit 8db253d

Browse files
committed
Actually mark go-packages-native as obsolete
1 parent d9a9e51 commit 8db253d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

go-mode.el

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2248,11 +2248,8 @@ If IGNORE-CASE is non-nil, the comparison is case-insensitive."
22482248
(funcall go-packages-function))
22492249

22502250
(defun go-packages-native ()
2251-
"Return a list of all installed Go packages. Obsolete.
2252-
It looks for archive files in /pkg/. This strategy does not work
2253-
well with the Go build cache or Go modules.
2254-
2255-
You should use `go-packages-go-list' instead."
2251+
"Return a list of all installed Go packages."
2252+
(declare (obsolete "this function does not work well with modern versions of Go. You should use `go-packages-go-list' instead." "1.7.0"))
22562253
(sort
22572254
(delete-dups
22582255
(cl-mapcan

0 commit comments

Comments
 (0)