X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-mua.el;h=fd98ea4195e4faf7c34a0333a71accdb56c6e5b2;hp=57465b205a60a7875a66fdbd39874ca56f2e376c;hb=0e671478;hpb=6814a1cf73e45faaf9479d3570cdbce86fa6e6c8 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)