Commit f9f9cd92 authored by Karl Heuer's avatar Karl Heuer
Browse files

(report-emacs-bug): Insert at separator, not at end.

parent 3c6bcbe7
......@@ -34,6 +34,8 @@
;; >> otherwise you can't use this file. It will only work on the
;; >> internet with this address.
(require 'sendmail)
(defvar bug-gnu-emacs "bug-gnu-emacs@prep.ai.mit.edu"
"Address of site maintaining mailing list for GNU Emacs bugs.")
......@@ -43,8 +45,9 @@
Prompts for bug subject. Leaves you in a mail buffer."
(interactive "sBug Subject: ")
(mail nil bug-gnu-emacs topic)
(goto-char (point-max))
(insert "\nIn " (emacs-version) "\n\n")
(goto-char (point-min))
(re-search-forward (concat "^" (regexp-quote mail-header-separator) "\n"))
(insert "In " (emacs-version) "\n\n")
(message (substitute-command-keys "Type \\[mail-send] to send bug report.")))
(provide 'emacsbug)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment