Don't async refresh package contents
The performance benefit is minor and the loss of feedback is major in case of errors.
This commit is contained in:
parent
1efb0a8298
commit
d4ba03791f
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@
|
|||
(condition-case e
|
||||
(progn
|
||||
(message "Refreshing package archives")
|
||||
(package-refresh-contents (not doom-debug-mode))
|
||||
(package-refresh-contents)
|
||||
(doom-cache-set 'last-pkg-refresh t 1200))
|
||||
((debug error)
|
||||
(doom--refresh-pkg-cache)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue