From 635e85901cd40a0b02a7548066a8951f336e119f Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Fri, 3 May 2019 18:17:58 +0200 Subject: [PATCH] [Init] Disable automatic spell checking on windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s too slow. --- init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 6357b4d..344082a 100644 --- a/init.el +++ b/init.el @@ -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)