mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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)))
|
||||||
|
Reference in New Issue
Block a user