; Fix documentation of last change

* lisp/emacs-lisp/package.el (package--compatible-packages): Doc
fix.

* etc/NEWS: Improve and expand wording in the new entry.
(Bug#80695)
This commit is contained in:
Eli Zaretskii
2026-04-05 07:33:14 +03:00
parent 0bfdb068f2
commit 0a62e6c304
2 changed files with 6 additions and 2 deletions

View File

@@ -3177,7 +3177,10 @@ This user option controls what previous packages versions to keep on
upgrade. By default, this is set to nil, to keep the previous behavior.
---
*** Packages check recursive dependencies before installing.
*** Packages are now checked for recursive dependencies before installing.
If a package has dependencies not available on any of the archives in
'package-archives', it will appear as unavailable, with the reasons
stated in its description.
** Rcirc

View File

@@ -2018,7 +2018,8 @@ package archive."
(defun package--compatible-packages ()
"Return list of packages that can be installed.
This excludes packages that are listed in the archives, but have
incompatible dependencies (either not available at all or too old)."
incompatible dependencies (either too old or not available at all
in any archive mentioned in `package-archives')."
(package-read-all-archive-contents)
(package--build-compatibility-table)
(cl-loop for (name . desc) in package-archive-contents