From eb660677ddb465c49cea5dda269fc945cd598de6 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 12 Nov 2017 12:36:19 +0100 Subject: [PATCH] [Init] Disable flyspell on Windows right now MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit aspell complains about ‘nil’-encoding not being available, looks like an installation but. --- init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 06e09d3..0fbdb97 100644 --- a/init.el +++ b/init.el @@ -134,7 +134,10 @@ (when (<= 24 emacs-major-version) (add-hook 'prog-mode-hook #'electric-indent-local-mode)) (add-hook 'lisp-mode-hook #'lispy-mode) - (add-hook 'text-mode-hook #'turn-on-flyspell) + (unless on-windows + ;; flyspell doesn’t work on windows right now, need to further investigate + ;; what is happening here + (add-hook 'text-mode-hook #'turn-on-flyspell)) (add-hook 'text-mode-hook #'yas-minor-mode-on) ;; Auto-Modes