aboutsummaryrefslogtreecommitdiffstats
path: root/ido-mode
diff options
context:
space:
mode:
Diffstat (limited to 'ido-mode')
-rw-r--r--ido-mode/ido_switcher.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ido-mode/ido_switcher.pl b/ido-mode/ido_switcher.pl
index c06a7f4..bd5c703 100644
--- a/ido-mode/ido_switcher.pl
+++ b/ido-mode/ido_switcher.pl
@@ -350,7 +350,7 @@ sub update_matches {
@search_matches =
grep {
- _check_active($_) and $_->{num} =~ m/\Q$search_str\E/
+ _check_active($_) and $_->{num} =~ m/^\Q$search_str\E/
} @window_cache;
} elsif ($ido_use_flex) {