Function: mm-inlinable-p
mm-inlinable-p is a byte-compiled function defined in mm-decode.el.gz.
Signature
(mm-inlinable-p HANDLE &optional TYPE)
Documentation
Say whether HANDLE can be displayed inline.
TYPE is the mime-type of the object; it defaults to the one given in HANDLE.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/mm-decode.el.gz
(defun mm-inlinable-p (handle &optional type)
"Say whether HANDLE can be displayed inline.
TYPE is the mime-type of the object; it defaults to the one given
in HANDLE."
(unless type (setq type (mm-handle-media-type handle)))
(let ((alist mm-inline-media-tests)
test)
(while alist
(when (string-match (caar alist) type)
(setq test (caddar alist)
alist nil)
(setq test (funcall test handle)))
(pop alist))
test))