diff options
author | Leo Liu <sdl.web@gmail.com> | 2012-11-10 22:55:09 +0800 |
---|---|---|
committer | Leo Liu <sdl.web@gmail.com> | 2012-11-10 22:55:09 +0800 |
commit | e4e46889223296e8875548d278340b21db449a4a (patch) | |
tree | de4b6c10b49e1185d5258b683509748154cbc456 /lisp/ido.el | |
parent | af8bf5b3c098bddb985af4a073e9251d6bd91fbc (diff) | |
download | emacs-e4e46889223296e8875548d278340b21db449a4a.tar.gz |
Backport: * lisp/ido.el (ido-set-matches-1): Fix split-string args to
avoid performance issue.
Fixes: debbugs:12796
Diffstat (limited to 'lisp/ido.el')
-rw-r--r-- | lisp/ido.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 |