[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r110832: Backport: * lisp/ido.el (
From: |
Leo Liu |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r110832: Backport: * lisp/ido.el (ido-set-matches-1): Fix split-string args to |
Date: |
Sat, 10 Nov 2012 22:55:09 +0800 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110832
fixes bug: http://debbugs.gnu.org/12796
committer: Leo Liu <address@hidden>
branch nick: emacs-24
timestamp: Sat 2012-11-10 22:55:09 +0800
message:
Backport: * lisp/ido.el (ido-set-matches-1): Fix split-string args to
avoid performance issue.
modified:
lisp/ChangeLog
lisp/ido.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-11-10 01:48:44 +0000
+++ b/lisp/ChangeLog 2012-11-10 14:55:09 +0000
@@ -1,3 +1,8 @@
+2012-11-10 Leo Liu <address@hidden>
+
+ * ido.el (ido-set-matches-1): Fix split-string args to avoid
+ performance issue. (Bug#12796)
+
2012-11-10 Glenn Morris <address@hidden>
* term.el (term-default-fg-color, term-default-bg-color):
=== modified file 'lisp/ido.el'
--- a/lisp/ido.el 2012-10-05 07:38:05 +0000
+++ b/lisp/ido.el 2012-11-10 14:55:09 +0000
@@ -3764,7 +3764,7 @@
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-24 r110832: Backport: * lisp/ido.el (ido-set-matches-1): Fix split-string args to,
Leo Liu <=