Variable: mail-source-delete-incoming

mail-source-delete-incoming is a customizable variable defined in mail-source.el.gz.

Value

10

Documentation

If non-nil, delete incoming files after handling.

If t, delete immediately, if nil, never delete. If a positive number, delete files older than number of days.

Removing of old files happens in mail-source-callback, i.e. no old incoming files will be deleted unless you receive new mail. You may also set this variable to nil and call mail-source-delete-old-incoming interactively.

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

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/mail-source.el.gz
(defcustom mail-source-delete-incoming
  10 ;; development versions
  ;; 2 ;; released versions
  "If non-nil, delete incoming files after handling.
If t, delete immediately, if nil, never delete.  If a positive number, delete
files older than number of days.

Removing of old files happens in `mail-source-callback', i.e. no
old incoming files will be deleted unless you receive new mail.
You may also set this variable to nil and call
`mail-source-delete-old-incoming' interactively."
  :version "22.2" ;; No Gnus / Gnus 5.10.10 (default changed)
  :type '(choice (const :tag "immediately" t)
		 (const :tag "never" nil)
		 (integer :tag "days")))