Variable: mairix-get-mail-header-functions

mairix-get-mail-header-functions is a customizable variable defined in mairix.el.gz.

Value

((rmail mairix-rmail-fetch-field)
 (gnus mairix-gnus-fetch-field)
 (vm mairix-vm-fetch-field))

Documentation

Specifies function for obtaining a header field from the current mail.

This is an alist where each entry consists of a symbol from mairix-mail-program and the corresponding function for obtaining a header field from the current displayed mail. The function will be called with the mail header string as single argument. You can use nil if you do not have such a function for your mail program, but then searches based on the current mail won't work.

Source Code

;; Defined in /usr/src/emacs/lisp/net/mairix.el.gz
(defcustom mairix-get-mail-header-functions
  '((rmail mairix-rmail-fetch-field)
    (gnus mairix-gnus-fetch-field)
    (vm mairix-vm-fetch-field))
  "Specifies function for obtaining a header field from the current mail.
This is an alist where each entry consists of a symbol from
`mairix-mail-program' and the corresponding function for
obtaining a header field from the current displayed mail.  The
function will be called with the mail header string as single
argument.  You can use nil if you do not have such a function for
your mail program, but then searches based on the current mail
won't work."
  :type '(repeat (list (symbol :tag "Mail program")
		       (choice :tag "Header function"
			       (const :tag "none")
			       function))))