Use hunspell for spell-checking when available
This commit is contained in:
parent
56c22f90ef
commit
2ffb29b718
1 changed files with 5 additions and 0 deletions
|
@ -1533,6 +1533,11 @@ from myaethon2.core.decorators import (
|
|||
;; (setq special-display-buffer-names
|
||||
;; '(("*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
|
||||
|
||||
(provide 'init)
|
||||
|
|
Loading…
Reference in a new issue