avoid performance issue.
Fixes: debbugs:12796
+2012-11-10 Leo Liu <sdl.web@gmail.com>
+
+ * ido.el (ido-set-matches-1): Fix split-string args to avoid
+ performance issue. (Bug#12796)
+
2012-11-10 Glenn Morris <rgm@gnu.org>
* term.el (term-default-fg-color, term-default-bg-color):
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