Function: mh-inline-vcard-p

mh-inline-vcard-p is a byte-compiled function defined in mh-mime.el.gz.

Signature

(mh-inline-vcard-p HANDLE)

Documentation

Decide if HANDLE is a vcard that must be displayed inline.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-mime.el.gz
(defun mh-inline-vcard-p (handle)
  "Decide if HANDLE is a vcard that must be displayed inline."
  (let ((type (mm-handle-type handle)))
    (and (or (featurep 'vcard) (fboundp 'vcard-pretty-print))
         (consp type)
         (equal (car type) "text/x-vcard")
         (save-excursion
           (save-restriction
             (widen)
             (goto-char (point-min))
             (not (mh-signature-separator-p)))))))