Function: mm-pipe-part
mm-pipe-part is a byte-compiled function defined in mm-decode.el.gz.
Signature
(mm-pipe-part HANDLE &optional CMD)
Documentation
Pipe HANDLE to a process.
Use CMD as the process.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/mm-decode.el.gz
(defun mm-pipe-part (handle &optional cmd)
"Pipe HANDLE to a process.
Use CMD as the process."
(let ((command (or cmd
(read-shell-command
"Shell command on MIME part: " mm-last-shell-command))))
(mm-with-unibyte-buffer
(mm-insert-part handle)
(mm-add-meta-html-tag handle)
(let ((coding-system-for-write 'binary))
(shell-command-on-region (point-min) (point-max) command nil)))))