summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri D'Elia <wavexx@thregr.org>2017-01-28 15:20:54 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2017-01-28 15:21:28 +0100
commitf83363d30e1c78c228e57fe1a5e9ad8faf89f238 (patch)
treefa3ea2a73f34d8927fe7d581bd178f843168b37d
parent375c70fd9ef024f1a8ac99604e89c9991ac69eea (diff)
downloademacs-f83363d30e1c78c228e57fe1a5e9ad8faf89f238.tar.gz
Subject: Check Bcc after the Messag hook has run
* lisp/gnus/message.el (message-send): If the hook modifies the message (mml tags or headers), we should check bcc on the final message, not on the original.
-rw-r--r--lisp/gnus/message.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 4f08b0b2725..ce0dad9cb05 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -4119,8 +4119,8 @@ It should typically alter the sending method in some way or other."
(let ((inhibit-read-only t))
(put-text-property (point-min) (point-max) 'read-only nil))
(message-fix-before-sending)
- (mml-secure-bcc-is-safe)
(run-hooks 'message-send-hook)
+ (mml-secure-bcc-is-safe)
(when message-confirm-send
(or (y-or-n-p "Send message? ")
(keyboard-quit)))