emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master f83363d: Subject: Check Bcc after the Messag hook h


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master f83363d: Subject: Check Bcc after the Messag hook has run
Date: Sat, 28 Jan 2017 14:21:31 +0000 (UTC)

branch: master
commit f83363d30e1c78c228e57fe1a5e9ad8faf89f238
Author: Yuri D'Elia <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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.
---
 lisp/gnus/message.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 4f08b0b..ce0dad9 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]