Variable: rmail-confirm-expunge

rmail-confirm-expunge is a customizable variable defined in rmail.el.gz.

Value

y-or-n-p

Documentation

Whether and how to ask for confirmation before expunging deleted messages.

The value, if non-nil is a function to call with a question (string) as argument, to ask the user that question.

This variable was added, or its default value changed, in Emacs 21.1.

Probably introduced at or before Emacs version 21.1.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/rmail.el.gz
(defcustom rmail-confirm-expunge 'y-or-n-p
  "Whether and how to ask for confirmation before expunging deleted messages.
The value, if non-nil is a function to call with a question (string)
as argument, to ask the user that question."
  :type '(choice (const :tag "No confirmation" nil)
		 (const :tag "Confirm with y-or-n-p" y-or-n-p)
		 (const :tag "Confirm with yes-or-no-p" yes-or-no-p))
  :version "21.1"
  :risky t
  :group 'rmail-files)