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

    Revert "Simplify cache evaluation in helm-packages-get-url-from-elpa"
    
    This reverts commit 03dd33339cf9d3ead57a47737f246b94dddba9a2.
---
 helm-packages.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/helm-packages.el b/helm-packages.el
index fb9bb95461..3b5c5874c4 100644
--- a/helm-packages.el
+++ b/helm-packages.el
@@ -256,9 +256,9 @@ PROVIDER can be one of \"gnu\" or \"nongnu\"."
                     ("gnu" helm-packages-gnu-elpa-url-recipes)
                     ("nongnu" helm-packages-nongnu-elpa-url-recipes)))
          (cache (helm-acase provider
-                  ("gnu"    helm-packages--gnu-elpa-recipes-cache)
-                  ("nongnu" helm-packages--nongnu-elpa-recipes-cache)))
-         (recipe  (or cache
+                  ("gnu"        'helm-packages--gnu-elpa-recipes-cache)
+                  ("nongnu" 'helm-packages--nongnu-elpa-recipes-cache)))
+         (recipe  (or (symbol-value cache)
                       (set cache
                            (with-temp-buffer
                              (url-insert-file-contents address)

Reply via email to