Don't auto-purge ELPA packages on 'doom refresh'

...or 'doom purge', without the -e or --elpa switches (or --all).
This commit is contained in:
Henrik Lissner 2019-09-09 19:21:39 -04:00
parent 0e1bbc4499
commit 4fda7cd287
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 13 additions and 7 deletions

View file

@ -186,7 +186,7 @@ stale."
(setq success t))
(and (doom-packages-rebuild doom-auto-accept)
(setq success t))
(and (doom-packages-purge 'elpa-p 'builds-p nil doom-auto-accept)
(and (doom-packages-purge nil 'builds-p nil doom-auto-accept)
(setq success t)))
(doom-reload-package-autoloads (or success force-p))
(doom-byte-compile nil 'recompile))