branch: elpa/go-mode commit 8db253d0d331b7490286db071de0242042fca558 Author: Dominik Honnef <domi...@honnef.co> Commit: Dominik Honnef <domi...@honnef.co>
Actually mark go-packages-native as obsolete --- go-mode.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/go-mode.el b/go-mode.el index ba4dcc8b36..0a8b7c5499 100644 --- a/go-mode.el +++ b/go-mode.el @@ -2248,11 +2248,8 @@ If IGNORE-CASE is non-nil, the comparison is case-insensitive." (funcall go-packages-function)) (defun go-packages-native () - "Return a list of all installed Go packages. Obsolete. -It looks for archive files in /pkg/. This strategy does not work -well with the Go build cache or Go modules. - -You should use `go-packages-go-list' instead." + "Return a list of all installed Go packages." + (declare (obsolete "this function does not work well with modern versions of Go. You should use `go-packages-go-list' instead." "1.7.0")) (sort (delete-dups (cl-mapcan