mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Add 'erc-bug' command for reporting ERC bugs
* etc/ERC-NEWS: Announce the new command, and mention it at the top of the file along with 'report-emacs-bug'. * lisp/erc/erc.el (erc-bug): New command for reporting ERC bugs. It prompts for a subject, and passes it on to 'report-emacs-bug' along with the current ERC version, with the ERC mailing list in Cc.
This commit is contained in:
parent
5afa07919e
commit
8865fc02ab
2 changed files with 15 additions and 1 deletions
|
|
@ -6620,6 +6620,15 @@ If BUFFER is nil, update the mode line in all ERC buffers."
|
|||
|
||||
;; Miscellaneous
|
||||
|
||||
(defun erc-bug (subject)
|
||||
"Send a bug report to the Emacs bug tracker and ERC mailing list."
|
||||
(interactive "sBug Subject: ")
|
||||
(report-emacs-bug
|
||||
(format "ERC %s: %s" erc-version subject))
|
||||
(save-excursion
|
||||
(goto-char (point-min))
|
||||
(insert "X-Debbugs-CC: emacs-erc@gnu.org\n")))
|
||||
|
||||
(defun erc-port-to-string (p)
|
||||
"Convert port P to a string.
|
||||
P may be an integer or a service name."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue