Mercurial > emacs
changeset 58280:08330213d737
(Minibuffer Completion): When ignoring case,
predicate must not be case-sensitive.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 16 Nov 2004 17:27:48 +0000 |
parents | 76be0b364843 |
children | b6f9481dcccd |
files | lispref/minibuf.texi |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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}: