fix(spell): fail gracefully on missing ispell-program-name
Instead of stopping things dead with a hard error, emit a more readable warning, instead.
This commit is contained in:
parent
fcf8b0f8a1
commit
40d67ab573
1 changed files with 3 additions and 1 deletions
|
@ -62,7 +62,9 @@
|
|||
|
||||
(_ (doom-log "Spell checker not found. Either install `aspell', `hunspell' or `enchant'")))
|
||||
|
||||
(ispell-check-version))
|
||||
(if (executable-find ispell-program-name)
|
||||
(ispell-check-version)
|
||||
(warn "Can't find %s in your $PATH" ispell-program-name)))
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue