1 ;;; Set up spell-checking with aspell
2 ;; http://aspell.net/man-html/Using-Aspell-with-other-Applications.html
3 ;; http://www.delorie.com/gnu/docs/emacs/emacs_109.html
4 (setq-default ispell-program-name "aspell")
5 (global-set-key "\C-xs" 'ispell)
6 ;; http://newsgroups.derkeiler.com/Archive/Comp/comp.emacs/2006-03/msg00005.html
7 ;; http://blog.infion.de/archives/2007/07/09/GNU-Emacs,-aspell-and-the-problem-with-encodings/
8 (eval-after-load 'ispell
9 '(when ispell-aspell-supports-utf8
10 (setq ispell-extra-args
11 (append ispell-extra-args '("--encoding" "none")))))