diff options
| author | Daanturo <daanturo@gmail.com> | 2021-08-05 20:21:57 +0700 |
|---|---|---|
| committer | Youmu <condy0919@gmail.com> | 2021-08-05 22:08:33 +0800 |
| commit | 2c6e47e00910f6e14cbb3d1ed45f9599d08aafbb (patch) | |
| tree | c9f0e702fc7c4d3f1a60d43de40b5880cbea3ae0 | |
| parent | 8d10ad4ea59752595de37a8ddc44e8d3fb14fe89 (diff) | |
Setup wgrep in grep for when featurep fails
Especially for straight.el.
| -rw-r--r-- | modes/grep/evil-collection-grep.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modes/grep/evil-collection-grep.el b/modes/grep/evil-collection-grep.el index 3a42519..fefe1d2 100644 --- a/modes/grep/evil-collection-grep.el +++ b/modes/grep/evil-collection-grep.el @@ -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))) |
