[Init] Disable automatic spell checking on windows

It’s too slow.
This commit is contained in:
Daniel - 2019-05-03 18:17:58 +02:00
parent 22466b550c
commit 635e85901c
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 4 additions and 1 deletions

View File

@ -141,7 +141,10 @@
(when (<= 24 emacs-major-version)
(add-hook 'prog-mode-hook 'electric-indent-local-mode))
(add-hook 'text-mode-hook 'turn-on-flyspell)
(unless on-windows
;; spell checking is horribly slow on windows
(add-hook 'text-mode-hook 'turn-on-flyspell))
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(add-hook 'text-mode-hook 'yas-minor-mode-on)
(add-hook 'text-mode-hook 'electric-quote-mode)