From d0abe742f96552c0913c84ca09bc5e631baff54e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 15 Jun 2018 20:52:00 +0200 Subject: [PATCH] Don't set ispell-program-name ispell already looks for aspell, ispell, and hunspell on initialization. --- modules/feature/spellcheck/config.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/feature/spellcheck/config.el b/modules/feature/spellcheck/config.el index 435d2c5f0..a6638c251 100644 --- a/modules/feature/spellcheck/config.el +++ b/modules/feature/spellcheck/config.el @@ -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 ()