Function: mh-mime-maybe-display-alternatives

mh-mime-maybe-display-alternatives is a byte-compiled function defined in mh-mime.el.gz.

Signature

(mh-mime-maybe-display-alternatives ALTERNATIVES)

Documentation

Show buttons for ALTERNATIVES.

If mh-display-buttons-for-alternatives-flag is non-nil then display buttons for alternative parts that are usually suppressed.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-mime.el.gz
(defun mh-mime-maybe-display-alternatives (alternatives)
  "Show buttons for ALTERNATIVES.
If `mh-display-buttons-for-alternatives-flag' is non-nil then
display buttons for alternative parts that are usually
suppressed."
  (when (and mh-display-buttons-for-alternatives-flag alternatives)
    (insert "\n----------------------------------------------------\n")
    (insert "Alternatives:\n")
    (dolist (x alternatives)
      (insert "\n")
      (mh-insert-mime-button x (mh-mime-part-index x) nil))
    (insert "\n----------------------------------------------------\n")))