]> git.eshelyaron.com Git - emacs.git/commit
Don't try to add nil packages on refresh
authorStefan Kangas <stefankangas@gmail.com>
Sun, 20 Oct 2019 21:49:18 +0000 (23:49 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sun, 20 Oct 2019 22:00:36 +0000 (00:00 +0200)
commit0e6f4628d8fff53505e4399e71da9f531a64fff7
tree22b587b6b12cba555590d22f586b94d5eccd30c1
parent78cb3791fa11c95756ee3917c63cfea774f128a2
Don't try to add nil packages on refresh

* lisp/emacs-lisp/package.el (package-read-archive-contents): Don't
try to add nil entries.  Warn instead.  (Bug#28502)
* test/lisp/emacs-lisp/package-tests.el
(package-test-update-archives/ignore-nil-entry): New test.
* test/lisp/emacs-lisp/package-resources/with-nil-entry/archive-contents:
New file.
lisp/emacs-lisp/package.el
test/lisp/emacs-lisp/package-resources/with-nil-entry/archive-contents [new file with mode: 0644]
test/lisp/emacs-lisp/package-tests.el