From eca016238e315494185689ea02c215ed02935162 Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan <vu3rdd@gmail.com> Date: Thu, 8 Aug 2013 18:29:21 +0530 Subject: [PATCH] spell checking --- init.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/init.el b/init.el index 0fdc067..10c1ebd 100644 --- a/init.el +++ b/init.el @@ -411,3 +411,13 @@ '((font . "Menlo-13") (width . 80))) +;; spell check +(setq ispell-program-name "aspell" + ispell-extra-args '("--sug-mode=ultra")) + +(setq ispell-list-command "--list") + +(dolist (hook '(text-mode-hook)) + (add-hook hook (lambda () (flyspell-mode 1)))) +(dolist (hook '(change-log-mode-hook log-edit-mode-hook)) + (add-hook hook (lambda () (flyspell-mode -1)))) -- 2.45.2