Fix recent documentation changes
* doc/lispref/minibuf.texi (Multiple Queries): Move the reference to 'read-char-from-minibuffer' from here... * doc/lispref/commands.texi (Reading One Event): ...to here. Fix the wording of the description of 'read-char-from-minibuffer'.
This commit is contained in:
parent
ca44f33be2
commit
75875cac21
2 changed files with 5 additions and 6 deletions
|
@ -2501,6 +2501,9 @@ and key sequences read from keyboard macros being executed.
|
|||
The lowest level functions for command input are @code{read-event},
|
||||
@code{read-char}, and @code{read-char-exclusive}.
|
||||
|
||||
If you need a function to read a character using the minibuffer, use
|
||||
@code{read-char-from-minibuffer} (@pxref{Multiple Queries}).
|
||||
|
||||
@defun read-event &optional prompt inherit-input-method seconds
|
||||
This function reads and returns the next event of command input,
|
||||
waiting if necessary until an event is available.
|
||||
|
|
|
@ -2253,16 +2253,12 @@ Here is an example of using this function:
|
|||
@end lisp
|
||||
@end defun
|
||||
|
||||
If you need a function to read a character like @code{read-char} or
|
||||
@code{read-char-choice} (@pxref{Reading One Event}) but using the
|
||||
minibuffer, use @code{read-char-from-minibuffer}.
|
||||
|
||||
@defun read-char-from-minibuffer prompt &optional chars history
|
||||
This function uses the minibuffer to read and return a single
|
||||
character. Optionally, it ignores any input that is not a member of
|
||||
@var{chars}, a list of accepted characters. The @var{history}
|
||||
argument specifies the history list symbol to use; if is omitted or
|
||||
@code{nil}, it doesn't use the history.
|
||||
argument specifies the history list symbol to use; if it is omitted or
|
||||
@code{nil}, this function doesn't use the history.
|
||||
@end defun
|
||||
|
||||
@node Reading a Password
|
||||
|
|
Loading…
Add table
Reference in a new issue