From 1b7e0ab8c77f6a6fdb9758adc7297ac907fee3c5 Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Mon, 21 May 2012 23:29:03 +0000 Subject: [PATCH] gnus-msg.el (gnus-msg-mail): Ensure that gnus-newsgroup-name is a string so that Gcc works (bug#11514) --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/gnus-msg.el | 1 + 2 files changed, 6 insertions(+) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 9d9ffb2fcbd..05eb0dd76c6 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2012-05-21 Katsumi Yamaoka + + * gnus-msg.el (gnus-msg-mail): Ensure that gnus-newsgroup-name is + a string so that Gcc works (bug#11514). + 2012-04-21 Andreas Schwab * gnus.el (debbugs-gnu): Don't override existing autoload definition. diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el index 815bd9e44a6..c6d0c3213a0 100644 --- a/lisp/gnus/gnus-msg.el +++ b/lisp/gnus/gnus-msg.el @@ -490,6 +490,7 @@ instead." (message-mail to subject other-headers continue nil yank-action send-actions return-action) (let ((buf (current-buffer)) + (gnus-newsgroup-name (or gnus-newsgroup-name "")) mail-buf) (gnus-setup-message 'message (message-mail to subject other-headers continue -- 2.39.2