diff options
| author | Tom Dalziel <tom_dl@hotmail.com> | 2024-01-23 16:57:31 +0100 |
|---|---|---|
| committer | Tom Dalziel <33435574+tomdl89@users.noreply.github.com> | 2024-01-23 17:01:14 +0100 |
| commit | 9e27bb9e5a66cacbf9f1f4f20ca9b30fc2ae297b (patch) | |
| tree | e07601c0894b4e7e3f7ebb3ca33ff842d43a114f /evil-commands.el | |
| parent | 59774e369aefba721ff8b72bfb88bdf12f8ecd74 (diff) | |
No performant delete if range supplied
Fixes #1858
Diffstat (limited to 'evil-commands.el')
| -rw-r--r-- | evil-commands.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-commands.el b/evil-commands.el index 286cf94..3404805 100644 --- a/evil-commands.el +++ b/evil-commands.el @@ -4212,7 +4212,7 @@ Use `evil-flush-lines' if INVERT is nil, or `evil-keep-lines' if not." (when (and pattern command) (when evil-ex-search-vim-style-regexp (setq pattern (evil-transform-vim-style-regexp pattern))) - (if (and ex-delete (not (nth 3 command-form))) + (if (and ex-delete (not (nth 3 command-form)) (not (nth 1 command-form))) (evil--ex-performant-global-delete beg end pattern invert) (setq isearch-string pattern) (isearch-update-ring pattern t) |
