Function: package--compatible-packages

package--compatible-packages is a byte-compiled function defined in package.el.gz.

Signature

(package--compatible-packages)

Documentation

Return list of packages that can be installed.

This excludes packages that are listed in the archives, but have incompatible dependencies (either too old or not available at all in any archive mentioned in package-archives).

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/package.el.gz
(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 too old or not available at all
in any archive mentioned in `package-archives')."
  (package--build-compatibility-table)
  (cl-loop for (name . desc) in package-archive-contents
           unless (any #'package--incompatible-p desc)
           collect name))