Skip to content

Commit

Permalink
Display archives only in refresh command
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Sep 3, 2023
1 parent 97b8a0d commit ea7394e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion lisp/_prepare.el
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ Arguments FNC and ARGS are used for advice `:around'."
(setq download-p t))
(cond (download-p "done ✓")
(t "failed ✗"))))))
(advice-add 'package--download-one-archive :around #'eask--package-download-one-archive)

(defun eask--download-archives ()
"If archives download failed; download it manually."
Expand Down
1 change: 1 addition & 0 deletions lisp/core/refresh.el
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
nil t))

(eask-start
(advice-add 'package--download-one-archive :around #'eask--package-download-one-archive)
(eask-pkg-init)
(eask-msg "")
(eask-info "(Done refresh package archives)"))
Expand Down

0 comments on commit ea7394e

Please sign in to comment.