Variable: read-char-choice-use-read-key

read-char-choice-use-read-key is a variable defined in subr.el.gz.

Value

nil

Documentation

If non-nil, use read-key when reading a character by read-char-choice.

Otherwise, use the minibuffer (this is the default).

When reading via the minibuffer, you can use the normal commands available in the minibuffer, and can, for instance, temporarily switch to another buffer, do things there, and then switch back to the minibuffer before entering the character. This is not possible when using read-key, but using read-key may be less confusing to some users.

View in manual

Probably introduced at or before Emacs version 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/subr.el.gz
(defvar read-char-choice-use-read-key nil
  "If non-nil, use `read-key' when reading a character by `read-char-choice'.
Otherwise, use the minibuffer (this is the default).

When reading via the minibuffer, you can use the normal commands
available in the minibuffer, and can, for instance, temporarily
switch to another buffer, do things there, and then switch back
to the minibuffer before entering the character.  This is not
possible when using `read-key', but using `read-key' may be less
confusing to some users.")