Variable: type-break-query-function

type-break-query-function is a customizable variable defined in type-break.el.gz.

Value

yes-or-no-p

Documentation

Function to use for making query for a typing break.

It should take a string as an argument, the prompt. Usually this should be set to yes-or-no-p or y-or-n-p.

To avoid being queried at all, set type-break-query-mode(var)/type-break-query-mode(fun) to nil.

Source Code

;; Defined in /usr/src/emacs/lisp/type-break.el.gz
(defcustom type-break-query-function 'yes-or-no-p
  "Function to use for making query for a typing break.
It should take a string as an argument, the prompt.
Usually this should be set to `yes-or-no-p' or `y-or-n-p'.

To avoid being queried at all, set `type-break-query-mode' to nil."
  :type '(radio function
                (function-item yes-or-no-p)
                (function-item y-or-n-p))
  :group 'type-break)