Function: mm-automatic-display-p

mm-automatic-display-p is a byte-compiled function defined in mm-decode.el.gz.

Signature

(mm-automatic-display-p HANDLE)

Documentation

Say whether the user wants HANDLE to be displayed automatically.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/mm-decode.el.gz
(defun mm-automatic-display-p (handle)
  "Say whether the user wants HANDLE to be displayed automatically."
  (let ((methods mm-automatic-display)
	(type (mm-handle-media-type handle))
	method result)
    (while (setq method (pop methods))
      (when (and (not (mm-inline-override-p handle))
		 (string-match method type))
	(setq result t
	      methods nil)))
    result))