branch: elpa/helm
commit d33a88ca5e59886bb16c9b3e5a1be5b4d06419f3
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: Thierry Volpiatto <thie...@posteo.net>

    With the new urls we want the car of recipe
---
 helm-packages.el | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/helm-packages.el b/helm-packages.el
index 11e9867f1a..6a0ef866b0 100644
--- a/helm-packages.el
+++ b/helm-packages.el
@@ -257,9 +257,11 @@ PROVIDER can be one of \"gnu\" or \"nongnu\"."
          (recipe  (or (symbol-value cache)
                       (set cache
                            (with-temp-buffer
-                             (url-insert-file-contents address)
-                             (goto-char (point-min))
-                             (read (current-buffer))))))
+                             (let (data)
+                               (url-insert-file-contents address)
+                               (goto-char (point-min))
+                               (setq data (read (current-buffer)))
+                               (car data))))))
          (package-recipe (assq package recipe))
          (url (plist-get (cdr package-recipe) :url)))
     (if (stringp url)

Reply via email to