Use hunspell for spell-checking when available

This commit is contained in:
Tom Willemse 2015-06-21 12:34:34 +02:00
parent 56c22f90ef
commit 2ffb29b718

View file

@ -1533,6 +1533,11 @@ from myaethon2.core.decorators import (
;; (setq special-display-buffer-names ;; (setq special-display-buffer-names
;; '(("*eshell*" (unsplittable . t) (buffer-predicate . my-special-buffer-predicate)))) ;; '(("*eshell*" (unsplittable . t) (buffer-predicate . my-special-buffer-predicate))))
(if (not (executable-find "hunspell"))
(warn "Hunspell is not installed, can't use it")
(setq-default ispell-program-name "hunspell")
(setq ispell-really-hunspell t))
;;;; End ;;;; End
(provide 'init) (provide 'init)