Skip to content

Commit 813478c

Browse files
committed
Revert "Signal user-error on duplicate package refresh" (Bug#39187)
This reverts commit a6d87ea.
1 parent 1242ae9 commit 813478c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lisp/emacs-lisp/package.el

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3179,15 +3179,12 @@ Return (PKG-DESC [NAME VERSION STATUS DOC])."
31793179
(defun package-menu--refresh-contents (&optional _arg _noconfirm)
31803180
"In Package Menu, download the Emacs Lisp package archive.
31813181
Fetch the contents of each archive specified in
3182-
`package-archives', and then refresh the package menu. Signal a
3183-
user-error if there is already a refresh running asynchronously.
3182+
`package-archives', and then refresh the package menu.
31843183
31853184
`package-menu-mode' sets `revert-buffer-function' to this
31863185
function. The args ARG and NOCONFIRM, passed from
31873186
`revert-buffer', are ignored."
31883187
(package--ensure-package-menu-mode)
3189-
(when (and package-menu-async package--downloads-in-progress)
3190-
(user-error "Package refresh is already in progress, please wait..."))
31913188
(setq package-menu--old-archive-contents package-archive-contents)
31923189
(setq package-menu--new-package-list nil)
31933190
(package-refresh-contents package-menu-async))

0 commit comments

Comments
 (0)