aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Lechtenboerger2016-01-04 01:56:11 +0100
committerLars Magne Ingebrigtsen2016-01-04 01:57:04 +0100
commitf1093f7a7ccc8e56a7cbb932d1df53cc844f92b5 (patch)
tree91f6798737241266fa68093e5dde65706b2a3815
parente79b06e6def82fab56a153085bff8223876d5908 (diff)
downloademacs-f1093f7a7ccc8e56a7cbb932d1df53cc844f92b5.tar.gz
emacs-f1093f7a7ccc8e56a7cbb932d1df53cc844f92b5.zip
Do secure signed Bcc handling
* lisp/gnus/message.el (message-send): Do secure signed Bcc handling (bug#18718).
-rw-r--r--lisp/gnus/message.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 7be2ff900d4..51dcc1a909f 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -4227,6 +4227,8 @@ Instead, just auto-save the buffer and then bury it."
4227 (if message-return-action 4227 (if message-return-action
4228 (apply (car message-return-action) (cdr message-return-action)))) 4228 (apply (car message-return-action) (cdr message-return-action))))
4229 4229
4230(autoload 'mml-secure-bcc-is-safe "mml-sec")
4231
4230(defun message-send (&optional arg) 4232(defun message-send (&optional arg)
4231 "Send the message in the current buffer. 4233 "Send the message in the current buffer.
4232If `message-interactive' is non-nil, wait for success indication or 4234If `message-interactive' is non-nil, wait for success indication or
@@ -4241,6 +4243,7 @@ It should typically alter the sending method in some way or other."
4241 (let ((inhibit-read-only t)) 4243 (let ((inhibit-read-only t))
4242 (put-text-property (point-min) (point-max) 'read-only nil)) 4244 (put-text-property (point-min) (point-max) 'read-only nil))
4243 (message-fix-before-sending) 4245 (message-fix-before-sending)
4246 (mml-secure-bcc-is-safe)
4244 (run-hooks 'message-send-hook) 4247 (run-hooks 'message-send-hook)
4245 (when message-confirm-send 4248 (when message-confirm-send
4246 (or (y-or-n-p "Send message? ") 4249 (or (y-or-n-p "Send message? ")