Variable: mh-compose-letter-function

mh-compose-letter-function is a customizable variable defined in mh-e.el.gz.

Value

nil

Documentation

Invoked when starting a new draft.

However, it is the last function called before you edit your message. The consequence of this is that you can write a function to write and send the message for you. This function is passed three arguments: the contents of the TO, SUBJECT, and CC header fields.

This variable was added, or its default value changed, in MH-E version
6.0.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-e.el.gz
(defcustom-mh mh-compose-letter-function nil
  "Invoked when starting a new draft.

However, it is the last function called before you edit your
message. The consequence of this is that you can write a function
to write and send the message for you. This function is passed
three arguments: the contents of the TO, SUBJECT, and CC header
fields."
  :type '(choice (const nil) function)
  :group 'mh-sending-mail
  :package-version '(MH-E . "6.0"))