mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -62,7 +62,9 @@
|
|||||||
|
|
||||||
(_ (doom-log "Spell checker not found. Either install `aspell', `hunspell' or `enchant'")))
|
(_ (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)))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user