Function: command-query
command-query is a byte-compiled function defined in simple.el.gz.
Signature
(command-query COMMAND QUERY &optional VERBOSE)
Documentation
Make executing COMMAND issue QUERY to the user.
This will, by default, use y-or-n-p, but if VERBOSE,
yes-or-no-p is used instead.
Probably introduced at or before Emacs version 29.1.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
;;;###autoload
(defun command-query (command query &optional verbose)
"Make executing COMMAND issue QUERY to the user.
This will, by default, use `y-or-n-p', but if VERBOSE,
`yes-or-no-p' is used instead."
(put command 'disabled
(list 'query (not (not verbose)) query)))