Mercurial > emacs
comparison src/minibuf.c @ 76384:24884385912f
(Ftry_completion): Don't short circuit if completion-ignore-case is
non-nil.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Thu, 08 Mar 2007 14:34:11 +0000 |
parents | 488516b0de0a |
children | 58d40e42dfe4 738ce3540ffb 91bf6e05918b |
comparison
equal
deleted
inserted
replaced
76383:e20f9f5b4a77 | 76384:24884385912f |
---|---|
1481 || bestmatchsize != matchsize) | 1481 || bestmatchsize != matchsize) |
1482 /* Don't count the same string multiple times. */ | 1482 /* Don't count the same string multiple times. */ |
1483 matchcount++; | 1483 matchcount++; |
1484 bestmatchsize = matchsize; | 1484 bestmatchsize = matchsize; |
1485 if (matchsize <= SCHARS (string) | 1485 if (matchsize <= SCHARS (string) |
1486 /* If completion-ignore-case is non-nil, don't | |
1487 short-circuit because we want to find the best | |
1488 possible match *including* case differences. */ | |
1489 && !completion_ignore_case | |
1486 && matchcount > 1) | 1490 && matchcount > 1) |
1487 /* No need to look any further. */ | 1491 /* No need to look any further. */ |
1488 break; | 1492 break; |
1489 } | 1493 } |
1490 } | 1494 } |