]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix recent documentation changes
authorEli Zaretskii <eliz@gnu.org>
Thu, 14 Nov 2019 10:25:10 +0000 (12:25 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 14 Nov 2019 10:25:10 +0000 (12:25 +0200)
* 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'.

doc/lispref/commands.texi
doc/lispref/minibuf.texi

index 0db38b7176a8522360bbab577743f791cfc8f36c..0c848a8025744c303c2eb7c92942fb6260dccbac 100644 (file)
@@ -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.
index c87723df1f67f1d0f9bf03c5777ca942dc8e18dc..4a218fe737808ecf8b9c4c6da8b63b836b9359c9 100644 (file)
@@ -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