Merge pull request #4456 from RBckmnn/Fix_doom/bump-package

Fix interactive call of doom/bump-package
This commit is contained in:
Henrik Lissner 2021-01-03 18:44:06 -05:00 committed by GitHub
commit 157f654f98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,8 +177,8 @@ each package."
(defun doom/bump-package (package)
"Bump PACKAGE in all modules that install it."
(interactive
(list (completing-read "Bump package: "
(mapcar #'car (doom-package-list 'all)))))
(list (intern (completing-read "Bump package: "
(mapcar #'car (doom-package-list 'all))))))
(let* ((packages (doom-package-list 'all))
(modules (plist-get (alist-get package packages) :modules)))
(unless modules