summaryrefslogtreecommitdiff
path: root/lispref/minibuf.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-10-28 16:44:20 +0000
committerRichard M. Stallman <rms@gnu.org>2005-10-28 16:44:20 +0000
commit30cb17f0c205a6e8ee60b9d847f6c1a52bc74ee4 (patch)
treeb32d9119bf7acbb5d46280347bb48fc409709bf6 /lispref/minibuf.texi
parent185d95fc3edf44acd4c6029241b9647a9d02748b (diff)
downloademacs-30cb17f0c205a6e8ee60b9d847f6c1a52bc74ee4.tar.gz
(Completion Commands): Clean up prev change.
Diffstat (limited to 'lispref/minibuf.texi')
-rw-r--r--lispref/minibuf.texi12
1 files changed, 6 insertions, 6 deletions
diff --git a/lispref/minibuf.texi b/lispref/minibuf.texi
index 6810cd97ffa..ced4524c4c0 100644
--- a/lispref/minibuf.texi
+++ b/lispref/minibuf.texi
@@ -960,12 +960,12 @@ which is printed as if the strings were concatenated. The first of
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