Add word existence checking for +spell/correct

`(bounds-of-thing-at-point 'word)` can return `nil`. This checks that it
does not, giving an `user-error` if no word is found.
This commit is contained in:
Ian Wahbe 2020-12-06 19:18:36 +01:00
parent 9137cbaaa4
commit a51be66d30