* bug#75382: [PATCH] update doc string of package-delete
@ 2025-01-05 13:18 Nikolaos Chatzikonstantinou
2025-01-09 7:28 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread
* bug#75382: [PATCH] update doc string of package-delete
2025-01-05 13:18 bug#75382: [PATCH] update doc string of package-delete Nikolaos Chatzikonstantinou
@ 2025-01-09 7:28 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2025-01-09 7:28 UTC (permalink / raw)
To: Nikolaos Chatzikonstantinou; +Cc: 75382-done
> From: Nikolaos Chatzikonstantinou <nchatz314@gmail.com>
> Date: Sun, 5 Jan 2025 08:18:34 -0500
>
> See attachment for the patch.
Thanks, installed on the emacs-30 branch, and closing the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-09 7:28 UTC | newest]
Thread overview: 2+ messages (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
2025-01-09 7:28 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).