aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2007-03-08 14:34:11 +0000
committerChong Yidong2007-03-08 14:34:11 +0000
commit78893e057c93ff280afebec61826219eb076c3fb (patch)
tree9e34ae0fb830b1092c3076e06110b708ea2f7723
parentb033f7a744b23fcce99bf85ff5511ed2f97ea523 (diff)
downloademacs-78893e057c93ff280afebec61826219eb076c3fb.tar.gz
emacs-78893e057c93ff280afebec61826219eb076c3fb.zip
(Ftry_completion): Don't short circuit if completion-ignore-case is
non-nil.
-rw-r--r--src/minibuf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 5bb91cf7348..1c2cfc45306 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1483,6 +1483,10 @@ is used to further constrain the set of candidates. */)
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;