mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-17 17:58:46 +00:00
(ido-set-matches-1): Never put current buffer first if
there are other matches.
This commit is contained in:
parent
39bda46573
commit
39449da0b4
@ -3579,6 +3579,9 @@ for first matching file."
|
||||
(/= (aref name 0) ?.)))
|
||||
(string-match re name))
|
||||
(cond
|
||||
((and (eq ido-cur-item 'buffer)
|
||||
(string= name (buffer-name ido-entry-buffer)))
|
||||
(setq matches (cons item matches)))
|
||||
((and full-re (string-match full-re name))
|
||||
(setq full-matches (cons item full-matches)))
|
||||
((and suffix-re (string-match suffix-re name))
|
||||
|
Loading…
Reference in New Issue
Block a user