diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2023-01-21 22:32:22 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2023-01-21 22:42:22 +0100 |
| commit | 191c333905e8e39d3957049e08c45c97633d593e (patch) | |
| tree | fc01ae0572662ad85e4a52e91d7561f00d272153 /compat.texi | |
| parent | eea73e19cea65b4d309724c13920ba7c184f1ab7 (diff) | |
compat-27: Add read-char-from-minibuffer
Diffstat (limited to 'compat.texi')
| -rw-r--r-- | compat.texi | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/compat.texi b/compat.texi index fd03115..25da519 100644 --- a/compat.texi +++ b/compat.texi @@ -1052,6 +1052,19 @@ window. When used in a minibuffer window, select the window selected just before the minibuffer was activated, and execute the forms. @end defmac +@c copied from lispref/minbuf.texi +@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 it is omitted or +@code{nil}, this function doesn't use the history. + +If you bind @code{help-form} to a non-@code{nil} value while calling +@code{read-char-from-minibuffer}, then pressing @code{help-char} +causes it to evaluate @code{help-form} and display the result. +@end defun + @c copied from lispref/numbers.texi @defun bignump object This predicate tests whether its argument is a large integer, and @@ -1540,8 +1553,6 @@ All @code{iso8601-*} functions. @item The macro @code{benchmark-progn}. @item -The function @code{read-char-from-minibuffer}. -@item The macro @code{with-suppressed-warnings}. @item Support for @code{condition-case} to handle t. |
