projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d897f7
)
Autoload package-installed-p
author
Corwin Brust
<corwin@bru.st>
Tue, 8 Feb 2022 23:48:14 +0000
(17:48 -0600)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 10 Feb 2022 17:27:57 +0000
(19:27 +0200)
* lisp/emacs-lisp/package.el (package-installed-p): Add autoload
cookie. (Bug#53885)
Copyright-paperwork-exempt: yes
lisp/emacs-lisp/package.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/package.el
b/lisp/emacs-lisp/package.el
index 2e014496139d50d196375500ac608ac1b95afe4f..6aa82e576d9fe034382c1f8cff38b7fba1197ba9 100644
(file)
--- 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