From: Katsumi Yamaoka Date: Mon, 21 May 2012 23:29:03 +0000 (+0000) Subject: gnus-msg.el (gnus-msg-mail): Ensure that gnus-newsgroup-name is a string so that... X-Git-Tag: emacs-24.1~21 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1b7e0ab8c77f6a6fdb9758adc7297ac907fee3c5;p=emacs.git gnus-msg.el (gnus-msg-mail): Ensure that gnus-newsgroup-name is a string so that Gcc works (bug#11514) --- 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