Make flyspell config a bit more simple

This commit is contained in:
Gergely Polonkai 2016-10-21 09:32:50 +02:00
parent 2f8b03fa02
commit 8aaf8b3c1b
1 changed files with 2 additions and 4 deletions

View File

@ -580,11 +580,9 @@
(use-package flyspell (use-package flyspell
:config :config
(add-hook 'prog-mode-hook (add-hook 'prog-mode-hook
(lambda () 'flyspell-prog-mode)
(flyspell-prog-mode)))
(add-hook 'text-mode-hook (add-hook 'text-mode-hook
(lambda () 'flyspell-mode))
(flyspell-mode 1))))
(use-package helm-descbinds) (use-package helm-descbinds)