branch: elpa/helm
commit 164d256aa215ed2a3d2281b1c6ab6b94d8f760f6
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Use helm-packages--refresh-contents in finder
---
helm-packages.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/helm-packages.el b/helm-packages.el
index 7621a919b88..8e0457b1331 100644
--- a/helm-packages.el
+++ b/helm-packages.el
@@ -587,8 +587,8 @@ to avoid errors with outdated packages no more availables."
"Helm interface to find packages by keywords with `finder'.
To have more actions on packages, use `helm-packages'."
(interactive "P")
- (when arg (package-refresh-contents))
- (package-initialize) ; needed to feed package-archive-contents.
+ (package-initialize)
+ (when arg (helm-packages--refresh-contents))
(helm :sources
(helm-build-in-buffer-source "helm finder"
:data (cl-loop for p in package-archive-contents