Don't set ispell-program-name

ispell already looks for aspell, ispell, and hunspell on initialization.
This commit is contained in:
Henrik Lissner 2018-06-15 20:52:00 +02:00
parent 4d5a247d53
commit d0abe742f9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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 ()