diff options
author | Corwin Brust <corwin@bru.st> | 2022-02-08 17:48:14 -0600 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-02-10 19:27:57 +0200 |
commit | 64d211179db9de955a793a158bc969d9ca568712 (patch) | |
tree | a17a50f6ae7ea8bcd7430477c17ea0e6f1067303 /lisp/emacs-lisp | |
parent | 2d897f7c6691b3f72ce43ae1827307653ed9fc0b (diff) | |
download | emacs-64d211179db9de955a793a158bc969d9ca568712.tar.gz emacs-64d211179db9de955a793a158bc969d9ca568712.tar.bz2 emacs-64d211179db9de955a793a158bc969d9ca568712.zip |
Autoload package-installed-p
* lisp/emacs-lisp/package.el (package-installed-p): Add autoload
cookie. (Bug#53885)
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/package.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 2e014496139..6aa82e576d9 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -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 |