Function: speedbar-y-or-n-p
speedbar-y-or-n-p is a byte-compiled function defined in
speedbar.el.gz.
Signature
(speedbar-y-or-n-p PROMPT &optional DELETING)
Documentation
Like y-or-n-p, but for use in the speedbar frame.
Argument PROMPT is the prompt to use.
Optional argument DELETING means this is a query that will delete something.
The variable speedbar-query-confirmation-method can cause this to
return true without a query.
Source Code
;; Defined in /usr/src/emacs/lisp/speedbar.el.gz
(defsubst speedbar-y-or-n-p (prompt &optional deleting)
"Like `y-or-n-p', but for use in the speedbar frame.
Argument PROMPT is the prompt to use.
Optional argument DELETING means this is a query that will delete something.
The variable `speedbar-query-confirmation-method' can cause this to
return true without a query."
(or (and (not deleting)
(eq speedbar-query-confirmation-method 'none-but-delete))
(dframe-y-or-n-p prompt)))