summaryrefslogtreecommitdiff
path: root/src/normal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.cc')
-rw-r--r--src/normal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.cc b/src/normal.cc
index 4c6e0203..f1123ca7 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -1159,7 +1159,7 @@ void keep(Context& context, NormalParams params)
const auto flags = match_flags(is_bol(begin.coord()), false,
is_bow(buffer, begin.coord()),
is_eow(buffer, end.coord()));
- if (regex_search(begin, end, begin, end, regex, flags) == matching)
+ if (regex_search(begin, end, begin, end, regex, flags, EventManager::handle_urgent_events) == matching)
keep.push_back(sel);
}
if (keep.empty())