bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19537: Manual documents nonexistent functionality of package-upload-


From: Stefan Kangas
Subject: bug#19537: Manual documents nonexistent functionality of package-upload-buffer
Date: Sun, 14 Jul 2019 06:21:21 +0200

tags 19537 + patch
thanks

Kelly Dean <kelly@prtime.org> writes:

> Manual page «(elisp) Package Archives» says:
> ⌜ -- Command: package-upload-buffer
>      This command is similar to `package-upload-file', but instead of
>      prompting for a package file, it uploads the contents of the
>      current buffer.  The current buffer must be visiting a simple
>      package (a `.el' file) or a multi-file package (a `.tar' file);
>      otherwise, an error is raised.⌝
>
> But in fact, it must be visiting a simple package; it can't be a multi-file
> package. For the latter, only package-upload-file works (and even that works
> only after the patch for bug #19536 is applied).

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

> The package shouldn't document the "upload" functionality of package-x,
> since that's a functionality that pretty much noone uses (most/all ELPA
> archives use a different way to "upload" a package to it).

OK, I took a stab at removing it from the manual and added the
information it contained to the doc strings of the relevant functions
instead.  Please see attached patch -- WDYT?

Thanks,
Stefan Kangas

Attachment: 0001-Remove-upload-functionality-of-package-x-from-the-el.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]