Only rebind ispell-word if flyspell-correct is enabled

flyspell-correct-at-point is not defined unless the the spell module is
enabled.
This commit is contained in:
Troy Hinckley 2020-05-15 21:48:07 -06:00
parent 68547cfb95
commit 00ddb2eba6
2 changed files with 1 additions and 1 deletions

View file

@ -497,7 +497,6 @@ To change these keys see `+evil-repeat-keys'."
:n "gr" #'elfeed-search-update--force
:n "gR" #'elfeed-search-fetch))
:nv "z=" #'flyspell-correct-at-point
;; custom evil keybinds
:nv "zn" #'+evil:narrow-buffer
:n "zN" #'doom/widen-indirectly-narrowed-buffer