From: Radon Rosborough Date: Fri, 30 Jun 2017 19:26:26 +0000 (-0700) Subject: Fix bug in use-package-install-deferred-package X-Git-Tag: emacs-29.0.90~1306^2~15^2~259^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6e6b533aaf;p=emacs.git Fix bug in use-package-install-deferred-package 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. --- diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 68d38d19b8c..578e54cf076 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -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)))