Enchant-2 (used by default) freezes emacs

This commit is contained in:
Wojciech Kozlowski 2021-08-30 18:00:30 +02:00
parent 8f48a26530
commit 7d87ccd594

View File

@ -461,6 +461,11 @@
(((text-mode org-mode) . flyspell-mode)
(prog-mode . flyspell-prog-mode))
: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))
;; -----------------------------------------------------------------------------------------------