diff options
| author | Grégoire Jadi | 2013-06-12 09:08:17 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-06-12 09:08:17 -0700 |
| commit | 868490bbe111400d4a33e0e4e0ad06e3b096a0ce (patch) | |
| tree | 04b82d35713f4a12d65685907fd75aea005889bc /lisp | |
| parent | 02a87775d4ee494309408f4bd0eddbaba6394011 (diff) | |
| download | emacs-868490bbe111400d4a33e0e4e0ad06e3b096a0ce.tar.gz emacs-868490bbe111400d4a33e0e4e0ad06e3b096a0ce.zip | |
* mail/reporter.el (reporter-submit-bug-report): Handle missing package-name.
Fixes: debbugs:14600
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/mail/reporter.el | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 18f225ec308..48124b85fe4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-06-12 Grégoire Jadi <daimrod@gmail.com> | ||
| 2 | |||
| 3 | * mail/reporter.el (reporter-submit-bug-report): | ||
| 4 | Handle missing package-name. (Bug#14600) | ||
| 5 | |||
| 1 | 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de> | 6 | 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de> |
| 2 | 7 | ||
| 3 | * textmodes/reftex-cite.el (reftex-cite-regexp-hist) | 8 | * textmodes/reftex-cite.el (reftex-cite-regexp-hist) |
diff --git a/lisp/mail/reporter.el b/lisp/mail/reporter.el index cc20c5c06ea..8f6715018c4 100644 --- a/lisp/mail/reporter.el +++ b/lisp/mail/reporter.el | |||
| @@ -341,10 +341,10 @@ mail-sending package is used for editing and sending the message." | |||
| 341 | (mail-position-on-field "to") | 341 | (mail-position-on-field "to") |
| 342 | (insert address) | 342 | (insert address) |
| 343 | ;; insert problem summary if available | 343 | ;; insert problem summary if available |
| 344 | (if (and reporter-prompt-for-summary-p problem pkgname) | 344 | (when (and reporter-prompt-for-summary-p problem) |
| 345 | (progn | 345 | (mail-position-on-field "subject") |
| 346 | (mail-position-on-field "subject") | 346 | (if pkgname (insert pkgname "; ")) |
| 347 | (insert pkgname "; " problem))) | 347 | (insert problem)) |
| 348 | ;; move point to the body of the message | 348 | ;; move point to the body of the message |
| 349 | (mail-text) | 349 | (mail-text) |
| 350 | (forward-line 1) | 350 | (forward-line 1) |