Commit e4e46889 authored by Leo Liu's avatar Leo Liu
Browse files

Backport: * lisp/ido.el (ido-set-matches-1): Fix split-string args to

avoid performance issue.

Fixes: debbugs:12796
parent af8bf5b3
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):
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment