Commit 9a08196a authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(ido-make-merged-file-list): Move fully matching item to head of list.

parent 9066a4d0
2002-07-09 Kim F. Storm <storm@cua.dk>
* ido.el (ido-make-merged-file-list): Move fully matching item to
head of list.
(ido-find-common-substring): Return substring instead of t.
2002-07-08 Juanma Barranquero <lektu@terra.es>
* info.el (Info-directory-list): Fix docstring.
......
......@@ -2511,6 +2511,12 @@ for first matching file."
res t))))))
(if (and res (not (eq res t)))
(setq res (ido-sort-merged-list res auto)))
(when (and (or ido-rotate-temp ido-rotate-file-list-default)
(> (length text) 0))
(let ((elt (assoc text res)))
(unless (eq elt (car res))
(setq res (delq elt res))
(setq res (cons elt res)))))
(message nil)
res))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment