all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nikolaos Chatzikonstantinou <nchatz314@gmail.com>
To: 75382@debbugs.gnu.org
Subject: bug#75382: [PATCH] update doc string of package-delete
Date: Sun, 5 Jan 2025 08:18:34 -0500	[thread overview]
Message-ID: <CAAQmekdaaWYO0D-5EDwGYu-4S-PXFYjtebdAZU4e3JaCbibQJQ@mail.gmail.com> (raw)

[-- 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


             reply	other threads:[~2025-01-05 13:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-05 13:18 Nikolaos Chatzikonstantinou [this message]
2025-01-09  7:28 ` bug#75382: [PATCH] update doc string of package-delete Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAQmekdaaWYO0D-5EDwGYu-4S-PXFYjtebdAZU4e3JaCbibQJQ@mail.gmail.com \
    --to=nchatz314@gmail.com \
    --cc=75382@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.