[Misc] Don’t enable flyspell mode on Windows

This commit is contained in:
Daniel - 2017-09-15 16:28:11 +02:00
parent 471c3775ce
commit 23397e5806
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 2 additions and 1 deletions

View File

@ -114,6 +114,8 @@
(when (<= 24 emacs-major-version)
(add-hook 'prog-mode-hook #'electric-indent-local-mode))
(add-hook 'lisp-mode-hook #'lispy-mode)
(unless (eq system-type 'windows-nt)
(add-hook 'text-mode-hook #'turn-on-flyspell))
;; Hydras
@ -1186,7 +1188,6 @@ _h_ _l_ _o_k _y_ank
(use-package flyspell
:commands (flyspell-mode turn-on-flyspell)
:init (add-hook 'text-mode-hook #'turn-on-flyspell)
:config (progn
(unbind-key "C-M-i" flyspell-mode-map)
(unbind-key "C-c $" flyspell-mode-map)))