aboutsummaryrefslogtreecommitdiff
path: root/evil-commands.el
diff options
context:
space:
mode:
authorTom Dalziel <tom_dl@hotmail.com>2024-01-23 16:57:31 +0100
committerTom Dalziel <33435574+tomdl89@users.noreply.github.com>2024-01-23 17:01:14 +0100
commit9e27bb9e5a66cacbf9f1f4f20ca9b30fc2ae297b (patch)
treee07601c0894b4e7e3f7ebb3ca33ff842d43a114f /evil-commands.el
parent59774e369aefba721ff8b72bfb88bdf12f8ecd74 (diff)
No performant delete if range supplied
Fixes #1858
Diffstat (limited to 'evil-commands.el')
-rw-r--r--evil-commands.el2
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)