summaryrefslogtreecommitdiff
path: root/lisp/ido.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ido.el')
-rw-r--r--lisp/ido.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index fa85cf1c6ed..2336feacf9e 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -3660,6 +3660,7 @@ for first matching file."
matches (cdr error))))
(when prefix-matches
(ido-trace "prefix match" prefix-matches)
+ ;; Bug#2042.
(setq matches (nconc prefix-matches matches)))
(when suffix-matches
(ido-trace "suffix match" (list text suffix-re suffix-matches))