# HG changeset patch # User Chong Yidong # Date 1173364451 0 # Node ID 24884385912fcbd09fa848095d850c42e012b927 # Parent e20f9f5b4a7780547e90728fdbbf0d86d3d5748e (Ftry_completion): Don't short circuit if completion-ignore-case is non-nil. diff -r e20f9f5b4a77 -r 24884385912f src/minibuf.c --- a/src/minibuf.c Thu Mar 08 14:34:03 2007 +0000 +++ b/src/minibuf.c Thu Mar 08 14:34:11 2007 +0000 @@ -1483,6 +1483,10 @@ 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;