]> git.eshelyaron.com Git - emacs.git/commit
Tolerate missing elpa-packages.eld files
authorPhilip Kaludercic <philipk@posteo.net>
Sun, 12 Feb 2023 12:25:54 +0000 (13:25 +0100)
committerPhilip Kaludercic <philipk@posteo.net>
Sun, 12 Feb 2023 12:26:52 +0000 (13:26 +0100)
commitd4fc70129786f0c90f76e1868203d63a59f3f92d
treeb592b5920c30cb93f8b7776f20649779023c78f9
parent8bc1b7d0b27176e1d9039aec40d6e6f4d50f34b7
Tolerate missing elpa-packages.eld files

* lisp/emacs-lisp/package-vc.el
(package-vc--download-and-read-archives): Replace
'condition-case-unless-debug' with a regular 'condition-case'.

It appears a few people using third-party archives that don't serve
package specifications have been having issues with package-vc, when
toggle-on-error is enabled.  In their case, package-vc would raise an
error in its first invocation, but it would go on working normally
afterwards.  As this behaviour is confusing and the user can't do much
about a missing elpa-packages.eld to begin with, we satisfy ourselves
with printing out a message and continuing on.
lisp/emacs-lisp/package-vc.el