Function: mm-keep-viewer-alive-p

mm-keep-viewer-alive-p is a byte-compiled function defined in mm-decode.el.gz.

Signature

(mm-keep-viewer-alive-p HANDLE)

Documentation

Say whether external viewer for HANDLE should stay alive.

Aliases

mh-mm-keep-viewer-alive-p (obsolete since 29.1)

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/mm-decode.el.gz
(defun mm-keep-viewer-alive-p (handle)
  "Say whether external viewer for HANDLE should stay alive."
  (let ((types mm-keep-viewer-alive-types)
	(type (mm-handle-media-type handle))
	ty)
    (catch 'found
      (while (setq ty (pop types))
	(when (string-match ty type)
	  (throw 'found t))))))