Function: minibuffer-choose-completion
minibuffer-choose-completion is an interactive and byte-compiled
function defined in minibuffer.el.gz.
Signature
(minibuffer-choose-completion &optional NO-EXIT NO-QUIT)
Documentation
Run choose-completion from the minibuffer in its completions window.
With prefix argument NO-EXIT, insert the completion candidate at point to
the minibuffer, but don't exit the minibuffer. When the prefix argument
is not provided, then whether to exit the minibuffer depends on the value
of completion-no-auto-exit.
If NO-QUIT is non-nil, insert the completion candidate at point to the
minibuffer, but don't quit the completions window.
Probably introduced at or before Emacs version 30.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/minibuffer.el.gz
(defun minibuffer-choose-completion (&optional no-exit no-quit)
"Run `choose-completion' from the minibuffer in its completions window.
With prefix argument NO-EXIT, insert the completion candidate at point to
the minibuffer, but don't exit the minibuffer. When the prefix argument
is not provided, then whether to exit the minibuffer depends on the value
of `completion-no-auto-exit'.
If NO-QUIT is non-nil, insert the completion candidate at point to the
minibuffer, but don't quit the completions window."
(interactive "P")
(with-minibuffer-completions-window
(choose-completion nil no-exit no-quit)))