]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix bug in use-package-install-deferred-package
authorRadon Rosborough <radon.neon@gmail.com>
Fri, 30 Jun 2017 19:26:26 +0000 (12:26 -0700)
committerRadon Rosborough <radon.neon@gmail.com>
Fri, 30 Jun 2017 19:26:26 +0000 (12:26 -0700)
Previously, deferred installation didn't work because I didn't convert
the result of a `completing-read' back from a string to a symbol,
which meant the hash-table lookup failed.

lisp/use-package/use-package.el

index 68d38d19b8c89fbc6482b532e4f87cf47ffe0d08..578e54cf076107151cb279b6f45987aef5e7ca9c 100644 (file)
@@ -669,11 +669,12 @@ If the package is installed, its entry is removed from
               use-package--deferred-packages)
      (if packages
          (list
-          (completing-read
-           "Select package: "
-           packages
-           nil
-           'require-match)
+          (intern
+           (completing-read
+            "Select package: "
+            packages
+            nil
+            'require-match))
           :interactive)
        (user-error "No packages with deferred installation"))))
   (let ((spec (gethash name use-package--deferred-packages)))