>From f0d95d21ea92b8766548a6f43f34aa6d50455687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Jadi?= Date: Wed, 12 Jun 2013 15:41:22 +0200 Subject: [PATCH] * lisp/mail/reporter.el (reporter-submit-bug-report): Insert the subject even when PKGNAME isn't available. --- lisp/mail/reporter.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/mail/reporter.el b/lisp/mail/reporter.el index cc20c5c..8f67150 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." (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) -- 1.8.0.2722.gc0242e5