This is part of the Emacs Starter Kit.
Hackish file to accommodate having cocoaAspell installed on your Mac. Otherwise flyspell doesn’t start properly. Putting this customization in <username>.org initiates it too late.
- This file is loaded by a special line added to starter-kit.org.
(setq ispell-program-name "aspell"
ispell-dictionary "english"
ispell-dictionary-alist
(let ((default '("[A-Za-z]" "[^A-Za-z]" "[']" nil
("-B" "-d" "english" "--dict-dir"
"~/Library/Application Support/cocoAspell/aspell6-en-7.1-0")
nil iso-8859-1)))
`((nil ,@default)
("english" ,@default))))
(setq ispell-extra-args '("--sug-mode=ultra"))
(setq ispell-personal-dictionary "~/.aspell.en.pws")
(setq flyspell-issue-message-flag nil)