diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-05 12:31:17 +1100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-05 12:31:34 +1100 |
commit | b3a28d088ff060df7690ffeaa04ac97f5c072e81 (patch) | |
tree | 1e8d1f2bb50a3c7c03654f1d64360c6f0113a77b /doc/lispref/commands.texi | |
parent | 605f9019b47764d5b46544e525fa46b375951b35 (diff) | |
download | emacs-b3a28d088ff060df7690ffeaa04ac97f5c072e81.tar.gz |
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.
Diffstat (limited to 'doc/lispref/commands.texi')
-rw-r--r-- | doc/lispref/commands.texi | 6 |
1 files changed, 5 insertions, 1 deletions
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 |