Function: mh-mh-compose-type
mh-mh-compose-type is a byte-compiled function defined in
mh-mime.el.gz.
Signature
(mh-mh-compose-type FILENAME TYPE &optional DESCRIPTION ATTRIBUTES COMMENT)
Documentation
Insert an MH-style directive to insert a file.
The file specified by FILENAME is encoded as TYPE. An optional DESCRIPTION is used as the Content-Description field, optional set of ATTRIBUTES and an optional COMMENT can also be included.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-mime.el.gz
(defun mh-mh-compose-type (filename type
&optional description attributes comment)
"Insert an MH-style directive to insert a file.
The file specified by FILENAME is encoded as TYPE. An optional
DESCRIPTION is used as the Content-Description field, optional
set of ATTRIBUTES and an optional COMMENT can also be included."
(beginning-of-line)
(insert "#" type)
(and attributes
(insert "; " attributes))
(and comment
(insert " (" comment ")"))
(insert " [")
(and description
(insert description))
(insert "] " (expand-file-name filename))
(insert "\n"))