From b3a28d088ff060df7690ffeaa04ac97f5c072e81 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 5 Feb 2016 12:31:17 +1100 Subject: Make the read-multiple-choice prompt a bit prettier * doc/lispref/commands.texi (Reading One Event): Mention read-multiple-choice-face. * lisp/subr.el (read-multiple-choice): Make the prompting a bit prettier. --- doc/lispref/commands.texi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc/lispref/commands.texi') diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index 1964ec8e3fe..3ea6ea045eb 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi @@ -2618,7 +2618,7 @@ then continues to wait for a valid input character, or keyboard-quit. @end defun @defun read-multiple-choice prompt choices -Ask user a multiple choice question. @var{prompt} should be a string +Ask user a multiple choice question. @var{prompt} should be a string that will be displayed as the prompt. @var{choices} is an alist where the first element in each entry is a @@ -2636,6 +2636,10 @@ The return value is the matching value from @var{choices}. (?s "session only" "Accept this certificate this session only.") (?n "no" "Refuse to use this certificate, and close the connection."))) @end lisp + +The @code{read-multiple-choice-face} face is used to highlight the +matching characters in the name string on graphical terminals. + @end defun @node Event Mod -- cgit v1.2.1