Function: mh-compose-insertion
mh-compose-insertion is an autoloaded, interactive and byte-compiled
function defined in mh-mime.el.gz.
Signature
(mh-compose-insertion &optional INLINE)
Documentation
Add tag to include a file such as an image or sound.
You are prompted for the filename containing the object, the media type if it cannot be determined automatically, and a content description. If you're using MH-style directives, you will also be prompted for additional attributes.
The option mh-compose-insertion(var)/mh-compose-insertion(fun) controls what type of tags are
inserted. Optional argument INLINE means make it an inline
attachment.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-mime.el.gz
;;;###mh-autoload
(defun mh-compose-insertion (&optional inline)
"Add tag to include a file such as an image or sound.
You are prompted for the filename containing the object, the
media type if it cannot be determined automatically, and a
content description. If you're using MH-style directives, you
will also be prompted for additional attributes.
The option `mh-compose-insertion' controls what type of tags are
inserted. Optional argument INLINE means make it an inline
attachment."
(interactive "P")
(if (equal mh-compose-insertion 'mml)
(if inline
(mh-mml-attach-file "inline")
(mh-mml-attach-file))
(call-interactively 'mh-mh-attach-file)))