From: Chong Yidong Date: Thu, 8 Mar 2007 14:34:11 +0000 (+0000) Subject: (Ftry_completion): Don't short circuit if completion-ignore-case is X-Git-Tag: emacs-pretest-22.0.96~207 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=78893e057c93ff280afebec61826219eb076c3fb;p=emacs.git (Ftry_completion): Don't short circuit if completion-ignore-case is non-nil. --- 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. */) 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;