General reformatting & minor refactors

This commit is contained in:
Henrik Lissner 2019-02-19 15:03:14 -05:00
parent 43975d3cd4
commit c82faf7f10
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 7 additions and 7 deletions

View file

@ -372,7 +372,7 @@ package.el as appropriate."
(cl-check-type name symbol)
(doom-initialize-packages)
(unless (package-installed-p name)
(user-error "%s isn't installed" name))
(error "%s isn't installed" name))
(when (doom-package-different-backend-p name)
(user-error "%s's backend has changed and must be uninstalled first" name))
(when (or force-p (doom-package-outdated-p name))