* bug#75382: [PATCH] update doc string of package-delete
@ 2025-01-05 13:18 Nikolaos Chatzikonstantinou
0 siblings, 0 replies; only message in thread
From: Nikolaos Chatzikonstantinou @ 2025-01-05 13:18 UTC (permalink / raw)
To: 75382
[-- Attachment #1: Type: text/plain, Size: 76 bytes --]
Hello,
See attachment for the patch.
Regards,
Nikolaos Chatzikonstantinou
[-- Attachment #2: 0001-update-doc-string-of-package-delete.patch --]
[-- Type: text/x-patch, Size: 1173 bytes --]
From 458cda77cbe0948153c098ad8a23b56446450ff7 Mon Sep 17 00:00:00 2001
From: Nikolaos Chatzikonstantinou <nchatz314@gmail.com>
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-01-05 13:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-05 13:18 bug#75382: [PATCH] update doc string of package-delete Nikolaos Chatzikonstantinou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.