]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-mua.el
emacs: Make notmuch-message-mode play nicely with flyspell
[notmuch] / emacs / notmuch-mua.el
index fd98ea4195e4faf7c34a0333a71accdb56c6e5b2..466edd7eb23cfca98b19401bd51bd42970f1163e 100644 (file)
@@ -273,6 +273,8 @@ Note that these functions use `mail-citation-hook' if that is non-nil."
   (when notmuch-address-command
     (notmuch-address-setup)))
 
+(put 'notmuch-message-mode 'flyspell-mode-predicate 'mail-mode-flyspell-verify)
+
 (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)