Function: read-char-from-minibuffer-insert-char
read-char-from-minibuffer-insert-char is an interactive and
byte-compiled function defined in subr.el.gz.
Signature
(read-char-from-minibuffer-insert-char)
Documentation
Insert the character you type into the minibuffer and exit minibuffer.
Discard all previous input before inserting and exiting the minibuffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/subr.el.gz
(defun read-char-from-minibuffer-insert-char ()
"Insert the character you type into the minibuffer and exit minibuffer.
Discard all previous input before inserting and exiting the minibuffer."
(interactive)
(when (minibufferp)
(delete-minibuffer-contents)
(insert last-command-event)
(exit-minibuffer)))