[Init] Disable flyspell on Windows right now

aspell complains about ‘nil’-encoding not being available, looks like an
installation but.
This commit is contained in:
Daniel - 2017-11-12 12:36:19 +01:00
parent 1e2b28ffeb
commit eb660677dd
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 4 additions and 1 deletions

View File

@ -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 doesnt 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