Function: hmail:compose
hmail:compose is an autoloaded, interactive and byte-compiled function
defined in hmail.el.
Signature
(hmail:compose ADDRESS EXPR &optional SUBJECT HELP)
Documentation
Compose mail with ADDRESS and evaluation of EXPR.
Optional SUBJECT and HELP message may also be given.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmail.el
;;;###autoload
(defun hmail:compose (address expr &optional subject help)
"Compose mail with ADDRESS and evaluation of EXPR.
Optional SUBJECT and HELP message may also be given."
(interactive "sDeliver e-mail to: \nSubject: ")
(require 'hactypes) ;; Needed in case EXPR calls hact.
(unless (or (stringp help) (stringp subject))
(setq subject "Delete this text but write a detailed subject. Make a statement or ask a question."))
(hmail:invoke address nil subject)
(eval expr)
(when (re-search-backward "^Subject: " nil t)
(goto-char (match-end 0)))
(message (if (stringp help)
help
"Replace subject, compose message, and then mail.")))