Improve doc string of 'package-delete'

* lisp/emacs-lisp/package.el (package-delete): Elaborate on the
kind of argument expected by the function.  (Bug#75382)
This commit is contained in:
Nikolaos Chatzikonstantinou 2025-01-05 08:16:06 -05:00 committed by Eli Zaretskii
parent 313a191d04
commit 59c5733792

View file

@ -2498,8 +2498,9 @@ compiled."
(defun package-delete (pkg-desc &optional force nosave)
"Delete package PKG-DESC.
Argument PKG-DESC is a full description of package as vector.
Interactively, prompt the user for the package name and version.
Argument PKG-DESC is the full description of the package, for example as
obtained by `package-get-descriptor'. Interactively, prompt the user
for the package name and version.
When package is used elsewhere as dependency of another package,
refuse deleting it and return an error.