1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 06:20:43 -08:00

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.
This commit is contained in:
Radon Rosborough 2017-06-30 12:26:26 -07:00
parent 99e4045122
commit 6e6b533aaf

View 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)))