mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 20:00:46 -08:00
(Ftry_completion): Don't short circuit if completion-ignore-case is
non-nil.
This commit is contained in:
parent
b033f7a744
commit
78893e057c
1 changed files with 4 additions and 0 deletions
|
|
@ -1483,6 +1483,10 @@ is used to further constrain the set of candidates. */)
|
|||
matchcount++;
|
||||
bestmatchsize = matchsize;
|
||||
if (matchsize <= SCHARS (string)
|
||||
/* If completion-ignore-case is non-nil, don't
|
||||
short-circuit because we want to find the best
|
||||
possible match *including* case differences. */
|
||||
&& !completion_ignore_case
|
||||
&& matchcount > 1)
|
||||
/* No need to look any further. */
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue