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
|
||||
(add-hook 'flyspell-mode-hook #'+spellcheck|immediately)
|
||||
:config
|
||||
(setq ispell-program-name (executable-find "aspell")
|
||||
ispell-list-command "--list"
|
||||
(setq ispell-list-command "--list"
|
||||
ispell-extr-args '("--dont-tex-check-comments"))
|
||||
|
||||
(defun +spellcheck|immediately ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue