Function: hmail:buffer

hmail:buffer is an interactive and byte-compiled function defined in hmail.el.

Signature

(hmail:buffer &optional BUF INVISIBLE-FLAG)

Documentation

Start composing mail with the contents of optional BUF as the message body.

Invisible text is expanded and included in the mail only if INVISIBLE-FLAG is non-nil. BUF defaults to the current buffer and may be a buffer or buffer name.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmail.el
(defun hmail:buffer (&optional buf invisible-flag)
  "Start composing mail with the contents of optional BUF as the message body.
Invisible text is expanded and included in the mail only if INVISIBLE-FLAG is
non-nil.  BUF defaults to the current buffer and may be a buffer or buffer
name."
  (interactive (list (current-buffer) (y-or-n-p "Include invisible text? ")))
  (unless buf
    (setq buf (current-buffer)))
  (when (stringp buf)
    (setq buf (get-buffer buf)))
  (set-buffer buf)
  (hmail:region (point-min) (point-max) buf invisible-flag))