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))