Don't abort package install on aborting autoremove

Originally, it would not bother running doom//packages-install if you
aborted (answered "n" to the prompt) during doom//packages-autoremove.
This commit is contained in:
Henrik Lissner 2018-06-06 15:06:56 +02:00
parent b4e6022c82
commit e4a55d31bc
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -221,8 +221,8 @@ problems with doom."
(interactive)
(doom//reload-doom-autoloads)
(unwind-protect
(progn (doom//packages-autoremove)
(doom//packages-install))
(progn (ignore-errors (doom//packages-autoremove))
(ignore-errors (doom//packages-install)))
(doom//reload-package-autoloads)
(doom//byte-compile nil 'recompile)))