summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-msg.el
diff options
context:
space:
mode:
authorKatsumi Yamaoka <yamaoka@jpl.org>2013-04-12 15:17:47 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2013-04-12 15:17:47 +0000
commit320742098b941833731b20d4bd2de7cc4c93ec76 (patch)
tree657176bba459a3bc5ca94131cd7408196b86d2e8 /lisp/gnus/gnus-msg.el
parentf24e0036b1beb5e610e8691ec511f7d87b5aa993 (diff)
downloademacs-320742098b941833731b20d4bd2de7cc4c93ec76.tar.gz
gnus-msg.el (gnus-msg-mail): Make it avoid using posting styles corresponding to any existing group (Bug#14166)
Diffstat (limited to 'lisp/gnus/gnus-msg.el')
-rw-r--r--lisp/gnus/gnus-msg.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el
index 36135556c73..362dd3ea7f0 100644
--- a/lisp/gnus/gnus-msg.el
+++ b/lisp/gnus/gnus-msg.el
@@ -538,7 +538,8 @@ 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 ""))
+ ;; Don't use posting styles corresponding to any existing group.
+ (gnus-newsgroup-name "")
mail-buf)
(gnus-setup-message 'message
(message-mail to subject other-headers continue