Commit 78893e05 authored by Chong Yidong's avatar Chong Yidong
Browse files

(Ftry_completion): Don't short circuit if completion-ignore-case is

parent b033f7a7
......@@ -1483,6 +1483,10 @@ is used to further constrain the set of candidates. */)
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. */
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