Backport: * lisp/ido.el (ido-set-matches-1): Fix split-string args to
avoid performance issue. Fixes: debbugs:12796
This commit is contained in:
parent
af8bf5b3c0
commit
e4e4688922
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue