Activate flyspell-mode in specific modes
yaml-mode is derived from text-mode, rather than prog or conf-mode. This may be true for other major modes, so we must be more judicious about where we activate flyspell-mode.
This commit is contained in:
parent
e3ff1f25b4
commit
fb24a8deec
2 changed files with 11 additions and 5 deletions
|
@ -91,9 +91,6 @@
|
|||
(defadvice! +mu4e--refresh-current-view-a (&rest _)
|
||||
:after #'mu4e-mark-execute-all (mu4e-headers-rerun-search))
|
||||
|
||||
(when (featurep! :checkers spell)
|
||||
(add-hook 'mu4e-compose-mode-hook #'flyspell-mode))
|
||||
|
||||
;; Wrap text in messages
|
||||
(setq-hook! 'mu4e-view-mode-hook truncate-lines nil)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue