From 0df3632ca0e16eb23459cc634487b69e6e2f0923 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 19 Nov 2015 16:54:00 -0800 Subject: [emacs] enable flyspell again. closes #11. --- emacs.d/inits/50_flyspell.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'emacs.d/inits') diff --git a/emacs.d/inits/50_flyspell.el b/emacs.d/inits/50_flyspell.el index fe0c754..14887e8 100644 --- a/emacs.d/inits/50_flyspell.el +++ b/emacs.d/inits/50_flyspell.el @@ -1,9 +1,9 @@ -;; (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))) +(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))) -- cgit 1.4.1