Variable: url-confirmation-func

url-confirmation-func is a customizable variable defined in url-vars.el.gz.

Value

y-or-n-p

Documentation

What function to use for asking yes or no functions.

Possible values are yes-or-no-p or y-or-n-p, or any function that takes a single argument (the prompt), and returns t only if a positive answer is given.

Source Code

;; Defined in /usr/src/emacs/lisp/url/url-vars.el.gz
(defcustom url-confirmation-func 'y-or-n-p
  "What function to use for asking yes or no functions.
Possible values are `yes-or-no-p' or `y-or-n-p', or any function that
takes a single argument (the prompt), and returns t only if a positive
answer is given."
  :type '(choice (const :tag "Short (y or n)" :value y-or-n-p)
		 (const :tag "Long (yes or no)" :value yes-or-no-p)
		 (function :tag "Other"))
  :group 'url-hairy)