mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Don't set ispell-program-name
ispell already looks for aspell, ispell, and hunspell on initialization.
This commit is contained in:
@ -15,8 +15,7 @@ Since spellchecking can be slow in some buffers, this can be disabled with:
|
|||||||
:init
|
:init
|
||||||
(add-hook 'flyspell-mode-hook #'+spellcheck|immediately)
|
(add-hook 'flyspell-mode-hook #'+spellcheck|immediately)
|
||||||
:config
|
:config
|
||||||
(setq ispell-program-name (executable-find "aspell")
|
(setq ispell-list-command "--list"
|
||||||
ispell-list-command "--list"
|
|
||||||
ispell-extr-args '("--dont-tex-check-comments"))
|
ispell-extr-args '("--dont-tex-check-comments"))
|
||||||
|
|
||||||
(defun +spellcheck|immediately ()
|
(defun +spellcheck|immediately ()
|
||||||
|
Reference in New Issue
Block a user