Interactively, or when @var{display} is non-@code{nil}, the return
value is also displayed in the echo area.
-The optional arguments FOREGROUND and FACE control the appearence of
-the completion candidates. The candidates are displayed like FACE but
-with different colors. If FOREGROUND is non-@code{nil} the foreground
-varies, otherwise the background.
+The optional arguments @var{foreground} and @var{face} control the
+appearence of the completion candidates in the @file{*Completions*}
+buffer. The candidates are displayed in the specified @var{face} but
+with different colors: if @var{foreground} is non-@code{nil}, the
+foreground color is changed to be the color of the candidate,
+otherwise the background is changed to the candidate's color.
@end deffn
See also the functions @code{read-coding-system} and
Set the :background or :foreground attribute to COLOR, depending
on the argument FOREGROUND.
-The optional FACE argument controls the values for other
+The optional FACE argument determines the values of other face
attributes."
(let* ((defaults (if face (list face) '()))
(colors (cond (foreground
Interactively, or with optional arg MSG non-nil, print the
resulting color name in the echo area.
-Interactively, displays a list of colored completions. If
-optional argument FOREGROUND is non-nil, shows them as
-foregrounds, otherwise as backgrounds. The optional argument
-FACE controls the default appearance."
+Interactively, provides completion for selecting the color. If
+the optional argument FOREGROUND is non-nil, shows the completion
+candidates with their foregound color changed to be the color of
+the candidate, otherwise changes the background color of the
+candidates. The optional argument FACE determines the other
+face attributes of the candidates on display."
(interactive "i\np\ni\np") ; Always convert to RGB interactively.
(let* ((completion-ignore-case t)
(color-alist