Function: mm-attachment-override-p

mm-attachment-override-p is a byte-compiled function defined in mm-decode.el.gz.

Signature

(mm-attachment-override-p HANDLE)

Documentation

Say whether HANDLE should have attachment behavior overridden.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/mm-decode.el.gz
(defun mm-attachment-override-p (handle)
  "Say whether HANDLE should have attachment behavior overridden."
  (let ((types mm-attachment-override-types)
	(type (mm-handle-media-type handle))
	ty)
    (catch 'found
      (while (setq ty (pop types))
	(when (and (string-match ty type)
		   (mm-inlinable-p handle))
	  (throw 'found t))))))