Function: hmail:region
hmail:region is an interactive and byte-compiled function defined in
hmail.el.
Signature
(hmail:region START END &optional BUF INVISIBLE-FLAG)
Documentation
Start composing mail with region between START and END included in message.
Invisible text is expanded and included in the mail only if INVISIBLE-FLAG is non-nil. Optional BUF contains the region and defaults to the current buffer. It may be a buffer or buffer name.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmail.el
(defun hmail:region (start end &optional buf invisible-flag)
"Start composing mail with region between START and END included in message.
Invisible text is expanded and included in the mail only if INVISIBLE-FLAG is
non-nil. Optional BUF contains the region and defaults to the current
buffer. It may be a buffer or buffer name."
(interactive (list (region-beginning) (region-end) (current-buffer)
(y-or-n-p "Include invisible text? ")))
(unless buf
(setq buf (current-buffer)))
(when (stringp buf)
(setq buf (get-buffer buf)))
(let (mail-buf)
(hmail:invoke)
(setq mail-buf (current-buffer))
(save-excursion
(rfc822-goto-eoh)
(forward-line)
(set-buffer buf)
(hypb:insert-region mail-buf start end invisible-flag))))