branch: master
commit 6da7819ee274b13ec49c012984123d8733594f39
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
ivy.el (ivy--filter): Update prefix optimization
* ivy.el (ivy--filter): Don't use prefix optimization when the input
contains "\".
---
ivy.el | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ivy.el b/ivy.el
index cd02f2a..5ac652c 100644
--- a/ivy.el
+++ b/ivy.el
@@ -692,6 +692,7 @@ CANDIDATES are assumed to be static."
ivy--old-cands)
ivy--old-cands)
((and ivy--old-re
+ (not (string-match "\\\\" ivy--old-re))
(not (equal ivy--old-re ""))
(memq (cl-search
(if (string-match "\\\\)$" ivy--old-re)