Enchant-2 (used by default) freezes emacs
This commit is contained in:
parent
8f48a26530
commit
7d87ccd594
@ -461,6 +461,11 @@
|
|||||||
(((text-mode org-mode) . flyspell-mode)
|
(((text-mode org-mode) . flyspell-mode)
|
||||||
(prog-mode . flyspell-prog-mode))
|
(prog-mode . flyspell-prog-mode))
|
||||||
:config
|
:config
|
||||||
|
(if (executable-find "aspell")
|
||||||
|
(progn
|
||||||
|
(setq-default ispell-program-name "aspell")
|
||||||
|
(setq-default ispell-extra-args '("--sug-mode=ultra" "--camel-case")))
|
||||||
|
(setq-default ispell-program-name "hunspell"))
|
||||||
(unbind-key "C-M-i" flyspell-mode-map))
|
(unbind-key "C-M-i" flyspell-mode-map))
|
||||||
|
|
||||||
;; -----------------------------------------------------------------------------------------------
|
;; -----------------------------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user