From: Ramakrishnan Muthukrishnan Date: Thu, 8 Aug 2013 12:59:21 +0000 (+0530) Subject: spell checking X-Git-Url: https://git.rkrishnan.org/vdrive/components/status?a=commitdiff_plain;h=eca016238e315494185689ea02c215ed02935162;p=.emacs.d.git spell checking --- 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))))