emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 3965c65d5e2: ; * lisp/subr.el (read-char-choice): Fix last chan


From: Eli Zaretskii
Subject: emacs-29 3965c65d5e2: ; * lisp/subr.el (read-char-choice): Fix last change.
Date: Tue, 28 Mar 2023 14:32:04 -0400 (EDT)

branch: emacs-29
commit 3965c65d5e28e0efdfa693046f6a2059e74465f9
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * lisp/subr.el (read-char-choice): Fix last change.
---
 lisp/subr.el | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/lisp/subr.el b/lisp/subr.el
index a9d93e5fe5e..f82826e819c 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -3210,13 +3210,15 @@ confusing to some users.")
   "Read and return one of the characters in CHARS, prompting with PROMPT.
 CHARS should be a list of single characters.
 The function discards any input character that is not one of CHARS,
-and shows a message to the effect that it is not one of the expected
-charcaters.
-
-By default, use the minibuffer to read the key non-modally (see
-`read-char-from-minibuffer').  But if `read-char-choice-use-read-key'
-is non-nil, the modal `read-key' function is used instead (see
-`read-char-choice-with-read-key')."
+and by default shows a message to the effect that it is not one of
+the expected characters.
+
+By default, this function uses the minibuffer to read the key
+non-modally (see `read-char-from-minibuffer'), and the optional
+argument INHIBIT-KEYBOARD-QUIT is ignored.  However, if
+`read-char-choice-use-read-key' is non-nil, the modal `read-key'
+function is used instead (see `read-char-choice-with-read-key'),
+and INHIBIT-KEYBOARD-QUIT is passed to it."
   (if (not read-char-choice-use-read-key)
       (read-char-from-minibuffer prompt chars)
     (read-char-choice-with-read-key prompt chars inhibit-keyboard-quit)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]