mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
emacs: Make notmuch-message-mode play nicely with flyspell
Flyspell mode uses a special setting for message-mode to not spell-check message headers except Subject. Apply this setting also to notmuch-message-mode.
This commit is contained in:
parent
cbf2448bb1
commit
55fb7da650
1 changed files with 2 additions and 0 deletions
|
@ -273,6 +273,8 @@ Note that these functions use `mail-citation-hook' if that is non-nil."
|
||||||
(when notmuch-address-command
|
(when notmuch-address-command
|
||||||
(notmuch-address-setup)))
|
(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-c") #'notmuch-mua-send-and-exit)
|
||||||
(define-key notmuch-message-mode-map (kbd "C-c C-s") #'notmuch-mua-send)
|
(define-key notmuch-message-mode-map (kbd "C-c C-s") #'notmuch-mua-send)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue