Function: dframe-y-or-n-p
dframe-y-or-n-p is a byte-compiled function defined in dframe.el.gz.
Signature
(dframe-y-or-n-p PROMPT)
Documentation
Like y-or-n-p, but for use in a dedicated frame.
Argument PROMPT is the prompt to use.
Source Code
;; Defined in /usr/src/emacs/lisp/dframe.el.gz
(defun dframe-y-or-n-p (prompt)
"Like `y-or-n-p', but for use in a dedicated frame.
Argument PROMPT is the prompt to use."
(save-selected-window
(if (and ;;default-minibuffer-frame
dframe-attached-frame
;;(not (eq default-minibuffer-frame dframe-attached-frame))
)
;; KB: Here we do not need calling `dframe-select-attached-frame'
(select-frame dframe-attached-frame))
(y-or-n-p prompt)))