Function: package-vc--download-and-read-archives

package-vc--download-and-read-archives is a byte-compiled function defined in package-vc.el.gz.

Signature

(package-vc--download-and-read-archives &optional ASYNC)

Documentation

Download specifications of all package-archives and read them.

Populate package-vc--archive-spec-alists with the result.

If optional argument ASYNC is non-nil, perform the downloads asynchronously.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/package-vc.el.gz
(defun package-vc--download-and-read-archives (&optional async)
  "Download specifications of all `package-archives' and read them.
Populate `package-vc--archive-spec-alists' with the result.

If optional argument ASYNC is non-nil, perform the downloads
asynchronously."
  (dolist (archive package-archives)
    (condition-case err
        (package--download-one-archive archive "elpa-packages.eld" async)
      (error (message "Failed to download `%s' archive: %S" (car archive) err)))))