Don't set ispell-program-name
ispell already looks for aspell, ispell, and hunspell on initialization.
This commit is contained in:
parent
4d5a247d53
commit
d0abe742f9
1 changed files with 1 additions and 2 deletions
|
@ -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 ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue