X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-mua.el;h=fd98ea4195e4faf7c34a0333a71accdb56c6e5b2;hb=cbf2448bb1d58fa173fa2662f41c63d8a1717f39;hp=57465b205a60a7875a66fdbd39874ca56f2e376c;hpb=d02e4dee71b9fb38919ac5e78ec56d1df79473fb;p=notmuch diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index 57465b20..fd98ea41 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -269,7 +269,9 @@ Note that these functions use `mail-citation-hook' if that is non-nil." (set-buffer-modified-p nil)) (define-derived-mode notmuch-message-mode message-mode "Message[Notmuch]" - "Notmuch message composition mode. Mostly like `message-mode'") + "Notmuch message composition mode. Mostly like `message-mode'" + (when notmuch-address-command + (notmuch-address-setup))) (define-key notmuch-message-mode-map (kbd "C-c C-c") #'notmuch-mua-send-and-exit) (define-key notmuch-message-mode-map (kbd "C-c C-s") #'notmuch-mua-send)