summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2022-10-22 00:06:02 +0200
committerPhilip Kaludercic <philipk@posteo.net>2022-10-22 00:06:04 +0200
commitab283bddb2505e767bdf08b063c648b87d71d33a (patch)
tree3df162f177d45984fc082a1b7da995e11998ae4d /lisp/emacs-lisp
parent5694278af37c77e3999cc39231c218f786ee7c86 (diff)
downloademacs-ab283bddb2505e767bdf08b063c648b87d71d33a.tar.gz
emacs-ab283bddb2505e767bdf08b063c648b87d71d33a.tar.bz2
emacs-ab283bddb2505e767bdf08b063c648b87d71d33a.zip
Request "elpa-packages.eld" instead of "elpa-packages"
* lisp/emacs-lisp/package-vc.el (package-vc--read-archive-data): Apply change. (package-vc--download-and-read-archives): Apply change.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package-vc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index 8f42767a6f2..562c5340028 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -145,7 +145,7 @@ name for PKG-DESC."
This function is meant to be used as a hook for
`package--read-archive-hook'."
(let* ((contents-file (expand-file-name
- (format "archives/%s/elpa-packages" archive)
+ (format "archives/%s/elpa-packages.eld" archive)
package-user-dir)))
(when (file-exists-p contents-file)
(with-temp-buffer
@@ -162,7 +162,7 @@ If optional argument ASYNC is non-nil, perform the downloads
asynchronously."
(dolist (archive package-archives)
(condition-case-unless-debug nil
- (package--download-one-archive archive "elpa-packages" async)
+ (package--download-one-archive archive "elpa-packages.eld" async)
(error (message "Failed to download `%s' archive." (car archive))))))
(add-hook 'package-read-archive-hook #'package-vc--read-archive-data 20)