[Init] It’s ‘system-type’, not ‘system-name’, we want to test for

This commit is contained in:
Daniel - 2018-10-20 11:26:02 +02:00
parent 81a9b6b3c6
commit 07abc2f750
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@
(when (<= 24 emacs-major-version)
(add-hook 'prog-mode-hook 'electric-indent-local-mode))
(add-hook 'lisp-mode-hook 'lispy-mode)
(unless (eq system-name 'windows-nt)
(unless (eq system-type 'windows-nt)
;; flyspell doesnt work on windows right now, need to further investigate
;; what is happening here
(add-hook 'text-mode-hook 'turn-on-flyspell))