1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

Mark source packages as always updatable

* lisp/emacs-lisp/package.el (package--updateable-packages): Add check
for source packages.
This commit is contained in:
Philip Kaludercic 2022-10-16 13:37:29 +02:00
parent 3f7e746b51
commit 5134eb02cf
No known key found for this signature in database
GPG Key ID: F2C3CC513DB89F66

View File

@ -2249,12 +2249,13 @@ to install it but still mark it as selected."
#'car
(seq-filter
(lambda (elt)
(let ((available
(assq (car elt) package-archive-contents)))
(and available
(version-list-<
(package-desc-version (cadr elt))
(package-desc-version (cadr available))))))
(or (let ((available
(assq (car elt) package-archive-contents)))
(and available
(version-list-<
(package-desc-version (cadr elt))
(package-desc-version (cadr available)))))
(package-vc-p (cadr (assq (car elt) package-alist)))))
package-alist)))
;;;###autoload