]> rtime.felk.cvut.cz Git - notmuch.git/blobdiff - emacs/notmuch-mua.el
emacs: replace use of notmuch-address-message-insinuate
[notmuch.git] / emacs / notmuch-mua.el
index 57465b205a60a7875a66fdbd39874ca56f2e376c..fd98ea4195e4faf7c34a0333a71accdb56c6e5b2 100644 (file)
@@ -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)