# HG changeset patch # User Richard M. Stallman # Date 1100626068 0 # Node ID 08330213d737dd6e3b638f9f8270cc6dfddce88e # Parent 76be0b364843cbaa8b3424ded391e292ac17e9ee (Minibuffer Completion): When ignoring case, predicate must not be case-sensitive. diff -r 76be0b364843 -r 08330213d737 lispref/minibuf.texi --- a/lispref/minibuf.texi Tue Nov 16 17:26:18 2004 +0000 +++ b/lispref/minibuf.texi Tue Nov 16 17:27:48 2004 +0000 @@ -841,9 +841,11 @@ (@pxref{Text Representations}) from whichever buffer was current before entering the minibuffer. -Completion ignores case when comparing the input against the possible -matches, if the built-in variable @code{completion-ignore-case} is -non-@code{nil}. @xref{Basic Completion}. +If the built-in variable @code{completion-ignore-case} is +non-@code{nil}, completion ignores case when comparing the input +against the possible matches. @xref{Basic Completion}. In this mode +of operation, @var{predicate} must also ignore case, or you will get +surprising results. Here's an example of using @code{completing-read}: