Function: message-pipe-buffer-body

message-pipe-buffer-body is a byte-compiled function defined in message.el.gz.

Signature

(message-pipe-buffer-body PROGRAM)

Documentation

Pipe the message body in the current buffer through PROGRAM.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/message.el.gz
(defun message-pipe-buffer-body (program)
  "Pipe the message body in the current buffer through PROGRAM."
  (save-excursion
    (save-restriction
      (when (message-goto-body)
	(narrow-to-region (point) (point-max)))
      (shell-command-on-region
       (point-min) (point-max) program nil t))))