fix(spell): disable flyspell-lazy in message-mode
Without this, flyspell is never started in these buffer (e.g. when composing mail w/ Notmuch). Fix: #3357
This commit is contained in:
parent
8e691e810f
commit
b7841e3659
1 changed files with 3 additions and 0 deletions
|
@ -242,4 +242,7 @@ e.g. proselint and langtool."
|
||||||
:config
|
:config
|
||||||
(setq flyspell-lazy-idle-seconds 1
|
(setq flyspell-lazy-idle-seconds 1
|
||||||
flyspell-lazy-window-idle-seconds 3)
|
flyspell-lazy-window-idle-seconds 3)
|
||||||
|
;; Fix #3357: flyspell-lazy inhibits flyspell entirely in message-mode
|
||||||
|
;; derivatives (e.g. for notmuch users).
|
||||||
|
(setq-hook! 'message-mode-hook flyspell-lazy-disallow-buffers nil)
|
||||||
(flyspell-lazy-mode +1)))
|
(flyspell-lazy-mode +1)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue