1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

* mail/reporter.el (reporter-submit-bug-report): Handle missing package-name.

Fixes: debbugs:14600
This commit is contained in:
Grégoire Jadi 2013-06-12 09:08:17 -07:00 committed by Glenn Morris
parent 02a87775d4
commit 868490bbe1
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2013-06-12 Grégoire Jadi <daimrod@gmail.com>
* mail/reporter.el (reporter-submit-bug-report):
Handle missing package-name. (Bug#14600)
2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
* textmodes/reftex-cite.el (reftex-cite-regexp-hist)

View File

@ -341,10 +341,10 @@ mail-sending package is used for editing and sending the message."
(mail-position-on-field "to")
(insert address)
;; insert problem summary if available
(if (and reporter-prompt-for-summary-p problem pkgname)
(progn
(mail-position-on-field "subject")
(insert pkgname "; " problem)))
(when (and reporter-prompt-for-summary-p problem)
(mail-position-on-field "subject")
(if pkgname (insert pkgname "; "))
(insert problem))
;; move point to the body of the message
(mail-text)
(forward-line 1)