Variable: feedmail-queue-runner-mode-setter

feedmail-queue-runner-mode-setter is a customizable variable defined in feedmail.el.gz.

Value

#[256 "\300 \207" [mail-mode] 2
      ("/nix/store/y8rifw71hjgsl2qjn1l0vrwq2c3593aw-emacs-30-2/share/emacs/30.2/lisp/mail/feedmail.elc"
       . 47262)]

Documentation

A function to set the proper mode of a message file.

Called when the message is read back out of the queue directory with a single argument, the optional argument used in the call to feedmail-run-the-queue or feedmail-run-the-queue-no-prompts.

Most people want mail-mode, so the default value is an anonymous function which is just a wrapper to ignore the supplied argument when calling it, but here's your chance to have something different. If you are a VM user, you might like feedmail-vm-mail-mode, though you really don't need that (and it's not particularly well-tested).

Called with funcall, not call-interactively.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/feedmail.el.gz
(defcustom feedmail-queue-runner-mode-setter
  (lambda (&optional _) (mail-mode))
  "A function to set the proper mode of a message file.
Called when the message is read back out of the queue directory with a single
argument, the optional argument used in the call to
`feedmail-run-the-queue' or `feedmail-run-the-queue-no-prompts'.

Most people want `mail-mode', so the default value is an anonymous
function which is just a wrapper to ignore the supplied argument when
calling it, but here's your chance to have something different.
If you are a VM user, you might like feedmail-vm-mail-mode, though you
really don't need that (and it's not particularly well-tested).

Called with funcall, not `call-interactively'."
  :group 'feedmail-queue
  :type 'function
  )