Revert async package refresh
Unnecessary complexity for negligible gain.
This commit is contained in:
parent
f07d567036
commit
ed1a79040e
1 changed files with 1 additions and 5 deletions
|
@ -13,11 +13,7 @@
|
|||
(condition-case-unless-debug ex
|
||||
(progn
|
||||
(message "Refreshing package archives")
|
||||
(package-refresh-contents (not doom-debug-mode))
|
||||
(cl-loop for i from 0
|
||||
while (and package--downloads-in-progress
|
||||
(<= i 10))
|
||||
do (sleep-for 0 250))
|
||||
(package-refresh-contents)
|
||||
(persistent-soft-store 'last-pkg-refresh t "emacs" 900))
|
||||
('error
|
||||
(doom-refresh-clear-cache)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue