# HG changeset patch # User Richard M. Stallman # Date 1130517860 0 # Node ID 8abfaaf2f6f116a9397897810380ac4a9a5bfee6 # Parent f60cd5bf2c8e0494396d896ec927bfa9da9985cc (Completion Commands): Clean up prev change. diff -r f60cd5bf2c8e -r 8abfaaf2f6f1 lispref/minibuf.texi --- a/lispref/minibuf.texi Fri Oct 28 16:43:12 2005 +0000 +++ b/lispref/minibuf.texi Fri Oct 28 16:44:20 2005 +0000 @@ -960,12 +960,12 @@ the two strings is the actual completion, the second string serves as annotation. -@var{common-substring} represents a string common prefix between all -completions. @var{common-substring} is used to put faces on -@samp{*Completions*} to enhance visual feedback of the buffer; -@code{display-completion-list} use faces to highlight what all completions -have in common and where they begin to differ. @var{common-substring} -specifies the common part. +The argument @var{common-substring} is the prefix that is common to +all the completions. With normal Emacs completion, it is usually the +same as the string that was completed. @code{display-completion-list} +uses this to highlight text in the completion list for better visual +feedback. This is not needed in the minibuffer; for minibuffer +completion, you can pass @code{nil}. This function is called by @code{minibuffer-completion-help}. The most common way to use it is together with