900 |
|
|
901 |
@defopt mm-inline-media-tests |
@defopt mm-inline-media-tests |
902 |
This is an alist where the key is a @sc{mime} type, the second element |
This is an alist where the key is a @sc{mime} type, the second element |
903 |
is a function to display the part @dfn{inline} (i.e., inside Emacs), and |
is a function to display the part @dfn{inline} (i.e., inside Emacs), and |
904 |
the third element is a form to be @code{eval}ed to say whether the part |
the third element is a form to be @code{eval}ed to say whether the part |
905 |
can be displayed inline. |
can be displayed inline. |
906 |
|
|
923 |
|
|
924 |
@defopt mm-attachment-override-types |
@defopt mm-attachment-override-types |
925 |
Some @sc{mime} agents create parts that have a content-disposition of |
Some @sc{mime} agents create parts that have a content-disposition of |
926 |
@samp{attachment}. This variable allows overriding that disposition and |
@samp{attachment}. This variable allows overriding that disposition and |
927 |
displaying the part inline. (Note that the disposition is only |
displaying the part inline. (Note that the disposition is only |
928 |
overridden if we are able to, and want to, display the part inline.) |
overridden if we are able to, and want to, display the part inline.) |
929 |
@end defopt |
@end defopt |
981 |
@end lisp |
@end lisp |
982 |
|
|
983 |
We see that the function takes a @sc{mime} handle as its parameter. It |
We see that the function takes a @sc{mime} handle as its parameter. It |
984 |
then goes to a temporary buffer, inserts the text of the part, does some |
then goes to a temporary buffer, inserts the text of the part, does some |
985 |
work on the text, stores the result, goes back to the buffer it was |
work on the text, stores the result, goes back to the buffer it was |
986 |
called from and inserts the result. |
called from and inserts the result. |
987 |
|
|