From 458cda77cbe0948153c098ad8a23b56446450ff7 Mon Sep 17 00:00:00 2001 From: Nikolaos Chatzikonstantinou Date: Sun, 5 Jan 2025 08:16:06 -0500 Subject: [PATCH] update doc string of package-delete * lisp/emacs-lisp/package.el (package-delete): Elaborate on the kind of argument expected by the function `package-delete'. --- lisp/emacs-lisp/package.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 9e62f0a5c0d..f61ceb28d4a 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -2497,8 +2497,9 @@ package--delete-directory (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. -- 2.39.5