diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2002-03-21 02:11:53 +0000 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2002-03-21 02:11:53 +0000 |
commit | ea33ba739ac93e12a89d07c79a6653ef392c70e0 (patch) | |
tree | d0031c61e762c88d9e9e648e138ca577f6dbd7da /lisp/mail/emacsbug.el | |
parent | 84691156a5a7d93701ad0f1d653ea7246f4ebf33 (diff) | |
download | emacs-ea33ba739ac93e12a89d07c79a6653ef392c70e0.tar.gz |
(report-emacs-bug-hook): Remove submitter
directions as the last action.
Diffstat (limited to 'lisp/mail/emacsbug.el')
-rw-r--r-- | lisp/mail/emacsbug.el | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index 8da08494add..c1cbc7b98e8 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -128,7 +128,7 @@ translators to read other languages for them.\n\n") default-enable-multibyte-characters)) (insert "\n") (insert "Please describe exactly what actions triggered the bug\n" - "and the precise symptoms of the bug:\n\n") + "and the precise symptoms of the bug:\n\n") (setq user-point (point)) (insert "\n\n\n" "Recent input:\n") @@ -236,7 +236,15 @@ If you want to mail it to someone else instead, please insert the proper e-mail address after \"To: \", and send the mail again using \\[mail-send-and-exit]."))) (error "M-x report-emacs-bug was cancelled, please read *Bug Help* buffer")) - )) + + ;; Unclutter + (mail-text) + (let ((p (point))) + (re-search-forward (concat "^In " (emacs-version))) + (delete-region p (match-beginning 0))) + (re-search-forward "Please describe.+\n.+precise symptoms.+bug:\n*" + (point-max) t) + (replace-match "Symptoms:\n"))) (provide 'emacsbug) |