Improve package management feedback
With quelpa updating fixed, there is a longer delay on package update. So I added a 'looking for outdated packages...' message, and improved the formatting of backtraces in debug output.
This commit is contained in:
parent
ca96b0d9c5
commit
1c6ecc660a
1 changed files with 6 additions and 4 deletions
|
@ -184,10 +184,11 @@ Used by `doom/packages-install'."
|
|||
(when doom-debug-mode
|
||||
(with-temp-buffer
|
||||
(insert
|
||||
(cl-loop for i from 2
|
||||
for frame = (backtrace-frame i)
|
||||
while frame
|
||||
collect frame))
|
||||
(pp-to-string
|
||||
(cl-loop for i from 2
|
||||
for frame = (backtrace-frame i)
|
||||
while frame
|
||||
collect frame)))
|
||||
(indent-code-rigidly (point-min) (point-max) 4)
|
||||
(message! "%s" (buffer-string)))))))
|
||||
|
||||
|
@ -305,6 +306,7 @@ appropriate."
|
|||
"Interactive command for updating packages."
|
||||
(interactive)
|
||||
(doom-refresh-packages doom-debug-mode)
|
||||
(message! "Looking for outdated packages...")
|
||||
(let ((packages (sort (doom-get-outdated-packages) #'doom--sort-alpha)))
|
||||
(cond ((not packages)
|
||||
(message! (green "Everything is up-to-date")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue