From cb89217682eeee50bc01707f6cf4d81387c928fe Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 17 Feb 2016 06:03:03 -0800 Subject: [emacs] Enable flyspell for org-mode. --- emacs.d/core/core-flyspell.el | 4 ++-- 1 file 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) -- cgit 1.4.1