commit f27afb4cade72dd7868611ee3b47c56c6656f29f
parent eb1b9564ae574b9655e5547f316b8f8e9d02d855
Author: William Casarin <jb55@jb55.com>
Date: Wed, 28 Oct 2020 15:09:15 -0700
notmuch: always bcc
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/dotfiles/.spacemacs b/dotfiles/.spacemacs
@@ -301,6 +301,9 @@ It should only modify the values of Spacemacs settings."
(load custom-file)
)
+(defun notmuch-always-bcc-sender ()
+ (message-add-header (concat "Bcc: " (message-fetch-field "From"))))
+
(defun dotspacemacs/user-init ()
"Initialization for user code:
This function is called immediately after `dotspacemacs/init', before layer
@@ -319,6 +322,7 @@ If you are unsure, try setting them in `dotspacemacs/user-config' first."
(if (= (user-uid) 0) " # " " $ ")))
(load "~/src/elisp/notmuch/notmuch-github.el")
+ (add-hook 'message-send-hook 'notmuch-always-bcc-sender)
;; (load "~/src/elisp/overlays/overlays.el")
(defun cd-repo ()