summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-02-17 06:03:03 -0800
committerFranck Cuny <franckcuny@gmail.com>2016-02-17 06:03:03 -0800
commitcb89217682eeee50bc01707f6cf4d81387c928fe (patch)
treea37e54653b3be3bd1cad49f68d951e7ca03aa325
parent[emacs] More settings for org-mode. (diff)
downloademacs.d-cb89217682eeee50bc01707f6cf4d81387c928fe.tar.gz
[emacs] Enable flyspell for org-mode.
-rw-r--r--emacs.d/core/core-flyspell.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs.d/core/core-flyspell.el b/emacs.d/core/core-flyspell.el
index 7c61b49..551c59b 100644
--- a/emacs.d/core/core-flyspell.el
+++ b/emacs.d/core/core-flyspell.el
@@ -1,11 +1,11 @@
 (use-package flyspell
   :ensure t
-  :defer t
   :init
   (progn
     (setq ispell-program-name "aspell"
           ispell-list-command "--list")
     (add-hook 'prog-mode-hook 'flyspell-prog-mode)
-    (add-hook 'text-mode-hook 'turn-on-flyspell)))
+    (add-hook 'text-mode-hook 'turn-on-flyspell)
+    (add-hook 'org-mode-hook 'turn-on-flyspell)))
 
 (provide 'core-flyspell)