From 6e6b533aaf321cbca46e2efe6dc3e0d30e73e91e Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Fri, 30 Jun 2017 12:26:26 -0700 Subject: [PATCH] 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. --- lisp/use-package/use-package.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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))) -- 2.39.2