mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
Delete 'package-contact-maintainer'
* doc/emacs/package.texi: Remove mention. * etc/NEWS: Remove mention. * lisp/emacs-lisp/package.el: Remove the command.
This commit is contained in:
parent
01e45efcd4
commit
3f7e746b51
3 changed files with 3 additions and 24 deletions
|
|
@ -2997,7 +2997,6 @@ either a full name or nil, and EMAIL is a valid email address."
|
|||
"r" #'revert-buffer
|
||||
"~" #'package-menu-mark-obsolete-for-deletion
|
||||
"w" #'package-browse-url
|
||||
"m" #'package-contact-maintainer
|
||||
"b" #'package-report-bug
|
||||
"x" #'package-menu-execute
|
||||
"h" #'package-menu-quick-help
|
||||
|
|
@ -4551,19 +4550,6 @@ will be signalled in that case."
|
|||
(package--print-email-button maint)
|
||||
(string-trim (substring-no-properties (buffer-string))))))))
|
||||
|
||||
;; TODO: Allow attaching a patch to send directly to the maintainer.
|
||||
;; Ideally this should be able to detect the local changes, convert
|
||||
;; these into patches.
|
||||
(defun package-contact-maintainer (desc)
|
||||
"Prepare a message to send to the maintainers of a package.
|
||||
DESC must be a `package-desc' object."
|
||||
(interactive (list (package--query-desc package-archive-contents))
|
||||
package-menu-mode)
|
||||
(let ((maint (package-maintainers desc))
|
||||
(name (package-desc-name desc))
|
||||
(subject (read-string "Subject: ")))
|
||||
(compose-mail maint (format "[%s] %s" name subject))))
|
||||
|
||||
(defun package-report-bug (desc)
|
||||
"Prepare a message to send to the maintainers of a package.
|
||||
DESC must be a `package-desc' object."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue