Function: erc-bug

erc-bug is an interactive and byte-compiled function defined in erc.el.gz.

Signature

(erc-bug SUBJECT)

Documentation

Send a bug report to the Emacs bug tracker and ERC mailing list.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
;; 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
    (if (and (>= emacs-major-version 30)
             (search-backward "X-Debbugs-CC: " nil t)
             (goto-char (pos-eol))
             (eq (char-before) ?\s))
        (insert "emacs-erc@gnu.org")
      (goto-char (point-min))
      (insert "X-Debbugs-CC: emacs-erc@gnu.org\n"))))