diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-02-17 06:03:03 -0800 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-02-17 06:03:03 -0800 |
commit | cb89217682eeee50bc01707f6cf4d81387c928fe (patch) | |
tree | a37e54653b3be3bd1cad49f68d951e7ca03aa325 | |
parent | [emacs] More settings for org-mode. (diff) | |
download | emacs.d-cb89217682eeee50bc01707f6cf4d81387c928fe.tar.gz |
[emacs] Enable flyspell for org-mode.
-rw-r--r-- | emacs.d/core/core-flyspell.el | 4 |
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) |