~pkal/autocrypt

8fcf874d04b92be438d163bbb457f3202e9fa333 — Philip Kaludercic 6 months ago 49f4a1a
Add autocrypt-message--remove-header
1 files changed, 5 insertions(+), 0 deletions(-)

M autocrypt-message.el
M autocrypt-message.el => autocrypt-message.el +5 -0
@@ 46,6 46,11 @@
  (with-silent-modifications
    (message-add-header (concat header ": " value))))

(defun autocrypt-message--remove-header (header)
  "Insert HEADER with VALUE into the message head."
  (with-silent-modifications
    (message-remove-header header)))

(defun autocrypt-message--sign-encrypt ()
  "Sign and encrypt message."
  (mml-secure-message-sign-encrypt "pgpmime"))