Fix interactive call of doom/bump-package

The function expects 'package' to be a symbol instead of a string.
This commit is contained in:
Ralf Beckmann 2020-12-20 17:37:29 +01:00
parent 0c9256411d
commit 712d6a7c40

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