mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -44,7 +44,7 @@
|
|||||||
(condition-case e
|
(condition-case e
|
||||||
(progn
|
(progn
|
||||||
(message "Refreshing package archives")
|
(message "Refreshing package archives")
|
||||||
(package-refresh-contents (not doom-debug-mode))
|
(package-refresh-contents)
|
||||||
(doom-cache-set 'last-pkg-refresh t 1200))
|
(doom-cache-set 'last-pkg-refresh t 1200))
|
||||||
((debug error)
|
((debug error)
|
||||||
(doom--refresh-pkg-cache)
|
(doom--refresh-pkg-cache)
|
||||||
|
Reference in New Issue
Block a user