1
Fork 0
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:
Chong Yidong 2007-03-08 14:34:11 +00:00
parent b033f7a744
commit 78893e057c

View file

@ -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;