No means no

Saying no to a confirmation prompt should abort the refresh process.
This commit is contained in:
Henrik Lissner 2018-05-28 12:23:47 +02:00
parent c8b21e8cf8
commit b84946318c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -197,11 +197,12 @@ recompile. Run this whenever you:
3. Add or remove autoloaded functions in module autoloaded files.
4. Update Doom outside of Doom (e.g. with git)"
(doom//reload-doom-autoloads)
(unwind-protect
(let ((doom--inhibit-reload t))
(with-demoted-errors "%s" (doom//packages-autoremove))
(with-demoted-errors "%s" (doom//packages-install)))
(doom//packages-autoremove)
(doom//packages-install))
(doom//reload-package-autoloads)
(doom//byte-compile nil 'recompile))
(doom//byte-compile nil 'recompile)))
;;