From e4e46889223296e8875548d278340b21db449a4a Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Sat, 10 Nov 2012 22:55:09 +0800 Subject: Backport: * lisp/ido.el (ido-set-matches-1): Fix split-string args to avoid performance issue. Fixes: debbugs:12796 --- lisp/ido.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/ido.el') diff --git a/lisp/ido.el b/lisp/ido.el index 4ab183b3207..88b84268ff8 100644 --- a/lisp/ido.el +++ b/lisp/ido.el @@ -3764,7 +3764,7 @@ This is to make them appear as if they were \"virtual buffers\"." ido-enable-flex-matching (> (length ido-text) 1) (not ido-enable-regexp)) - (setq re (mapconcat #'regexp-quote (split-string ido-text "") ".*")) + (setq re (mapconcat #'regexp-quote (split-string ido-text "" t) ".*")) (if ido-enable-prefix (setq re (concat "\\`" re))) (mapc -- cgit v1.2.1