From 5d645852385218a0252ec29aabf3de28364d3ec5 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 16 Nov 2004 17:27:48 +0000 Subject: [PATCH] (Minibuffer Completion): When ignoring case, predicate must not be case-sensitive. --- lispref/minibuf.texi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lispref/minibuf.texi b/lispref/minibuf.texi index 1b076c5837d..3ac750d76a1 100644 --- a/lispref/minibuf.texi +++ b/lispref/minibuf.texi @@ -841,9 +841,11 @@ Methods}) and the setting of @code{enable-multibyte-characters} (@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}: -- 2.39.2