Setup wgrep in grep for when featurep fails

Especially for straight.el.
This commit is contained in:
Daanturo 2021-08-05 20:21:57 +07:00
parent 9be3805b60
commit a7add56517
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
"\C-k" 'previous-error-no-select)
;; `wgrep' integration
(when (featurep 'wgrep)
(when (fboundp 'wgrep-setup)
(evil-collection-define-key 'normal 'grep-mode-map
"i" 'wgrep-change-to-wgrep-mode)))