Autoload package-installed-p

* lisp/emacs-lisp/package.el (package-installed-p): Add autoload
cookie. (Bug#53885)

Copyright-paperwork-exempt: yes
This commit is contained in:
Corwin Brust 2022-02-08 17:48:14 -06:00 committed by Eli Zaretskii
parent 2d897f7c66
commit 64d211179d

View file

@ -2040,6 +2040,7 @@ if all the in-between dependencies are also in PACKAGE-LIST."
package-alist))))
(setf (package-desc-signed (car pkg-descs)) t))))))))))
;;;###autoload
(defun package-installed-p (package &optional min-version)
"Return non-nil if PACKAGE, of MIN-VERSION or newer, is installed.
If PACKAGE is a symbol, it is the package name and MIN-VERSION